From ca9aa6d79dc5f692edba9a0a06cb163e6bff14e4 Mon Sep 17 00:00:00 2001 From: Lili Date: Mon, 3 Jul 2023 10:46:35 +0200 Subject: [PATCH] add reset and hard-reset command to init --- tlapbot/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tlapbot/__init__.py b/tlapbot/__init__.py index 9bd278d..5a550bb 100644 --- a/tlapbot/__init__.py +++ b/tlapbot/__init__.py @@ -49,6 +49,8 @@ def create_app(test_config=None): app.cli.add_command(db.refresh_counters_command) app.cli.add_command(db.refresh_and_clear_command) app.cli.add_command(db.refresh_milestones_command) + app.cli.add_command(db.reset_milestone_command) + app.cli.add_command(db.hard_reset_milestone_command) # scheduler job for giving points to users def proxy_job():