chore: add cli tool -- init skeleton
This commit is contained in:
+12
-3
@@ -1,6 +1,15 @@
|
||||
def main():
|
||||
pass
|
||||
import logging
|
||||
|
||||
import typer
|
||||
|
||||
import service
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
cli = typer.Typer(no_args_is_help=True, add_completion=False)
|
||||
|
||||
cli.add_typer(service.service, name="service")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
cli()
|
||||
|
||||
Reference in New Issue
Block a user