add-task ID - add a task under the goal specified by ID
list - list incomplete goals
list-all - list everything
+ list-done - list completed goals
print ID - print a goal and all tasks
print-vision ID - print a vision and all goals
done ID - mark task done by ID
if match.command('list'):
goals = Data().get_all_goals()
- results = ['Goals list...']
+ results = ['# Goals list...']
for goal in goals:
results.append(str(goal))
return results
+
+ if match.command('list-done'):
+ goals = Data().get_done_goals()
+ results = ['# Completed Goals...']
+ for goal in goals:
+ results.append(str(goal))
+ return results
+
+
if match.command('add-task'):
goal_id = int(match.args()[1])
new = ' '.join(match.args()[2:])