clan_cli: Added automated database population. Fixed incorrect error handling in backend

This commit is contained in:
2023-12-09 18:57:20 +01:00
parent 80269832e6
commit a93e6019c5
9 changed files with 102 additions and 54 deletions

View File

@@ -22,6 +22,12 @@ def register_parser(parser: argparse.ArgumentParser) -> None:
parser.add_argument(
"--host", type=str, default="localhost", help="Host to listen on"
)
parser.add_argument(
"--no-populate",
action="store_true",
help="Don't populate the database with dummy data",
default=False,
)
parser.add_argument(
"--no-open", action="store_true", help="Don't open the browser", default=False
)