]> apps.delaporte.us Git - matrix-goal-bot.git/blobdiff - matrix_goal_bot/tasks.py
easier to type prefix
[matrix-goal-bot.git] / matrix_goal_bot / tasks.py
index a957f37568d4eceb07dee1e3fb8db8054d00f101..1bacd918dae0aa41ca6260aed142b02800ed428c 100644 (file)
@@ -41,7 +41,6 @@ def remove_task(c, goal_id, name):
     print(result)
 
 
-
 @task
 def list(c):
     goals = Data().get_current_goals()
@@ -81,9 +80,20 @@ def print_goal(c, goal_id):
     for line in results:
         print(line)
 
+@task
+def start(c, goal_id):
+    vision, goals = Data().start_goal(goal_id)
+    results = pretty_print(vision, goals)
+    for line in results:
+        print(line)
+
 @task
 def clear(c, goal_id):
     results = Data().clear(goal_id)
     print(results)
 
+@task
+def setup(c):
+    results = Data().setup()
+    print(results)