Add debug CLI decisions, POIs, and tasks subcommands
This commit is contained in:
parent
2196e256f4
commit
34f9e933c0
5 changed files with 551 additions and 0 deletions
6
main.py
6
main.py
|
|
@ -472,6 +472,9 @@ def calculate_poi(poi_id: int, travel_modes: str, listing_type: str) -> None:
|
|||
|
||||
from cli._context import CliContext
|
||||
from cli.districts import districts_group
|
||||
from cli.decisions import decisions_group
|
||||
from cli.pois import pois_group
|
||||
from cli.tasks import tasks_group
|
||||
|
||||
|
||||
@cli.group("debug")
|
||||
|
|
@ -492,6 +495,9 @@ def debug(ctx: click.Context, user_email: str, use_http: bool, json_output: bool
|
|||
|
||||
|
||||
debug.add_command(districts_group)
|
||||
debug.add_command(decisions_group)
|
||||
debug.add_command(pois_group)
|
||||
debug.add_command(tasks_group)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue