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