Skip to content

Commit 4f34753

Browse files
author
matthias_schaub
committed
add archive and run commands to cli group of commands
1 parent 797f8a8 commit 4f34753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapswipe_workers/mapswipe_workers/mapswipe_workers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def run_create_tutorial(input_file) -> None:
173173
sentry.capture_exception()
174174

175175

176-
@click.command("archive")
176+
@cli.command("archive")
177177
@click.option(
178178
"--project-id", "-i", help=("Archive project with giving project id"), type=str,
179179
)
@@ -195,7 +195,7 @@ def run_archive_project(project_id, project_ids):
195195
archive_project.archive_project(project_ids)
196196

197197

198-
@click.command("run")
198+
@cli.command("run")
199199
@click.option(
200200
"--schedule", is_flag=True, help=("Schedule jobs to run every 10 minutes.")
201201
)

0 commit comments

Comments
 (0)