]> apps.delaporte.us Git - matrix-goal-bot.git/blobdiff - matrix_goal_bot/tasks.py
Update to indicate completed goals
[matrix-goal-bot.git] / matrix_goal_bot / tasks.py
index 21ccfd785671169f30f977690055a44216cea318..440afb4790e9eae447ca2fa2c20e618c745e1c99 100644 (file)
@@ -20,7 +20,14 @@ def add_task(c, goal_id, name):
 
 @task
 def list(c):
-    goals = Data().list_goals()
+    goals = Data().get_all_goals()
+    for goal in goals:
+        print(goal)
+
+
+@task
+def list_done(c):
+    goals = Data().get_done_goals()
     for goal in goals:
         print(goal)