mirror of
https://git.webmeisterei.com/webmeisterei/todoist-taskwarrior.git
synced 2023-12-21 10:23:00 +01:00
Add quit command in interactive migration
This commit is contained in:
parent
453f8d1e28
commit
6ccde147a2
@ -97,6 +97,7 @@ def task_prompt(**task_data):
|
||||
r - rename task
|
||||
p - change priority
|
||||
t - change tags
|
||||
q - quit immediately
|
||||
? - print help
|
||||
"""
|
||||
callbacks = {
|
||||
@ -121,6 +122,9 @@ def task_prompt(**task_data):
|
||||
'priority': priority_prompt(task_data['priority']),
|
||||
},
|
||||
|
||||
# Quit
|
||||
'q': lambda: exit(1),
|
||||
|
||||
# Help message
|
||||
'?': lambda: task_prompt_help() or task_data,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user