## Generated hello on 2025-01-24 13:22:43.897280
import subprocess
from typing import Optional, Any
import typer

CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
cli = typer.Typer(context_settings=CONTEXT_SETTINGS, help="""Hello world!""")
__version__ = '0.1.0'
__cli_name__ = 'hello'


def version_callback(value: bool):
    if value:
        print(f"{__cli_name__}, {__version__}")
        raise typer.Exit()

@cli.callback()
def main(
    version: Optional[bool] = typer.Option(None, '--version', callback=version_callback, is_eager=True)
):
    pass


def shell():
    subprocess.run(["echo","hello from shell"])


cli.command("shell", )(shell)

def python():
    print("hello from python")


cli.command("python", )(python)

if __name__ == "__main__":
    cli()
