16 lines
233 B
Python
16 lines
233 B
Python
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__":
|
|
cli()
|