aboutsummaryrefslogtreecommitdiffstats
path: root/todoist
diff options
context:
space:
mode:
Diffstat (limited to 'todoist')
-rwxr-xr-xtodoist4
1 files changed, 4 insertions, 0 deletions
diff --git a/todoist b/todoist
index 0be9244..26c7d3a 100755
--- a/todoist
+++ b/todoist
@@ -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