|
@ -396,7 +396,9 @@ def main(): # {{{ |
|
|
subparsers.add_parser("hold", help="Hold projects") |
|
|
subparsers.add_parser("hold", help="Hold projects") |
|
|
subparsers.add_parser("sprint", help="Sprint goals") |
|
|
subparsers.add_parser("sprint", help="Sprint goals") |
|
|
subparsers.add_parser("today", help="Today's tasks") |
|
|
subparsers.add_parser("today", help="Today's tasks") |
|
|
subparsers.add_parser("habits", help="Habits") |
|
|
subparsers.add_parser("habit", help="Habits") |
|
|
|
|
|
subparsers.add_parser("story", help="Stories") |
|
|
|
|
|
subparsers.add_parser("future", help="Futures") |
|
|
|
|
|
|
|
|
args = parser.parse_args() |
|
|
args = parser.parse_args() |
|
|
|
|
|
|
|
@ -428,12 +430,17 @@ def main(): # {{{ |
|
|
|
|
|
|
|
|
if args.command == "today": |
|
|
if args.command == "today": |
|
|
today = get_today() |
|
|
today = get_today() |
|
|
console.log(today) |
|
|
|
|
|
show(PLANNER_ID, flat=True, filter_any=[today], color="blue") |
|
|
show(PLANNER_ID, flat=True, filter_any=[today], color="blue") |
|
|
|
|
|
|
|
|
if args.command == "habits": |
|
|
if args.command == "habits": |
|
|
show(PLANNER_ID, flat=True, filter_any=["xtimed", "xwhenever"], color="orange") |
|
|
show(PLANNER_ID, flat=True, filter_any=["xtimed", "xwhenever"], color="orange") |
|
|
|
|
|
|
|
|
|
|
|
if args.command == "story": |
|
|
|
|
|
show(PLANNER_ID, flat=True, filter_any=["xstory"], color="cyan") |
|
|
|
|
|
|
|
|
|
|
|
if args.command == "future": |
|
|
|
|
|
show(PLANNER_ID, flat=True, filter_any=["xfuture"], color="yellow") |
|
|
|
|
|
|
|
|
# }}} |
|
|
# }}} |
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
if __name__ == "__main__": |
|
|