cli logging mode

This commit is contained in:
Maxim Devaev
2022-06-19 22:30:17 +03:00
parent 804bb68ae3
commit a70800323e
5 changed files with 10 additions and 0 deletions

View File

@@ -112,6 +112,7 @@ async def _run_cmd(cmd: List[str], unix_path: str) -> None:
def main(argv: Optional[List[str]]=None) -> None:
(parent_parser, argv, config) = init(
add_help=False,
cli_logging=True,
argv=argv,
)
parser = argparse.ArgumentParser(