From 176ee0119c0a187b0cde0d9fbc5c699d6e9d7f96 Mon Sep 17 00:00:00 2001 From: Matt Snider Date: Sun, 24 Mar 2019 16:29:02 +0100 Subject: [PATCH] Rename task_prompt() -> add_task_interactive() --- todoist_taskwarrior/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/todoist_taskwarrior/cli.py b/todoist_taskwarrior/cli.py index 459bc80..0e8cc44 100644 --- a/todoist_taskwarrior/cli.py +++ b/todoist_taskwarrior/cli.py @@ -84,7 +84,7 @@ def migrate(ctx, interactive, sync): elif not interactive: add_task(**data) else: - task_prompt(**data) + add_task_interactive(**data) def check_task_exists(tid): @@ -111,7 +111,7 @@ def add_task(tid, name, project, tags, priority, entry, due, recur): ) -def task_prompt(**task_data): +def add_task_interactive(**task_data): """Interactively add tasks y - add task @@ -166,7 +166,7 @@ def task_prompt(**task_data): # task_data unchanged. '?': lambda: io.warn('\n'.join([ x.strip() for x in - task_prompt.__doc__.split('\n') + add_task_interactive.__doc__.split('\n') ])) or task_data, }