cli module creating

This commit is contained in:
2026-02-08 19:23:15 +03:00
parent e9dd7af905
commit b732036e87
4 changed files with 74 additions and 8 deletions
+9 -2
View File
@@ -1,6 +1,13 @@
from typer import Typer
from .commands import run_handler
def main():
print(f'run from {__name__}')
print('hello world')
app = Typer()
app.command("run")(run_handler)
app.command("init")(run_handler)
app()
if __name__ == '__main__':
main()