X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/a85dc265c4ca559adc5a773b56cdb76ce3eb5f16..63ac7fdf6c0d6dc54d2631d9eee2151db1265660:/matrix_goal_bot/tasks.py diff --git a/matrix_goal_bot/tasks.py b/matrix_goal_bot/tasks.py index e9eb7c5..440afb4 100644 --- a/matrix_goal_bot/tasks.py +++ b/matrix_goal_bot/tasks.py @@ -24,6 +24,13 @@ def list(c): for goal in goals: print(goal) + +@task +def list_done(c): + goals = Data().get_done_goals() + for goal in goals: + print(goal) + @task def print_goal(c, id): goal,tasks = Data().get_goal(id)