mirror of
https://git.webmeisterei.com/webmeisterei/todoist-taskwarrior.git
synced 2023-12-21 10:23:00 +01:00
Allow user to interactively specify project
This commit is contained in:
parent
e22c8650ae
commit
a5cc643d1e
@ -183,6 +183,7 @@ def add_task_interactive(**task_data):
|
||||
y - add task
|
||||
n - skip task
|
||||
d - change description
|
||||
P - change project
|
||||
p - change priority
|
||||
t - change tags
|
||||
r - change recur
|
||||
@ -214,6 +215,15 @@ def add_task_interactive(**task_data):
|
||||
),
|
||||
},
|
||||
|
||||
# Edit project
|
||||
'P': lambda: {
|
||||
**task_data,
|
||||
'project': io.prompt(
|
||||
'Set project',
|
||||
default=task_data['project'],
|
||||
),
|
||||
},
|
||||
|
||||
# Edit priority
|
||||
'p': lambda: {
|
||||
**task_data,
|
||||
|
Loading…
Reference in New Issue
Block a user