diff options
Diffstat (limited to 'todoist')
-rwxr-xr-x | todoist | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -115,9 +115,11 @@ def main(): ## Prepare arguments kwargs = {} + ## Set date if not args.no_due_date: kwargs["date_string"] = args.date + ## Set project if args.project: proj = args.project.lower() if proj in projects: @@ -125,9 +127,11 @@ def main(): else: print("WARNING: Unknown project. Task will be stored in Inbox", file=sys.stderr) + ## Set priority/severity if args.severity: kwargs["priority"] = args.severity + ## Assign to person if args.assign: name = args.assign.lower() aid = None |