diff options
Diffstat (limited to '')
| -rwxr-xr-x | taskipy/cli.py | 2 | ||||
| -rw-r--r-- | taskipy/run.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/taskipy/cli.py b/taskipy/cli.py index 4ef6170..a450db0 100755 --- a/taskipy/cli.py +++ b/taskipy/cli.py @@ -3,7 +3,7 @@ import argparse from taskipy.run import run_task def main(): - parser = argparse.ArgumentParser(prog='task', description='runs a task specified in your pyproject.toml under [tool.taskify.tasks]') + parser = argparse.ArgumentParser(prog='task', description='runs a task specified in your pyproject.toml under [tool.taskipy.tasks]') parser.add_argument('name', help='name of the task') args = parser.parse_args() diff --git a/taskipy/run.py b/taskipy/run.py index 4c7d553..b8ae4ab 100644 --- a/taskipy/run.py +++ b/taskipy/run.py @@ -25,9 +25,9 @@ def run_task(task_name: str, cwd=os.curdir): sys.exit(1) try: - tasks = pyproject['tool']['taskify']['tasks'] + tasks = pyproject['tool']['taskipy']['tasks'] except: - print('no tasks found. add a [tool.taskify.tasks] section to your pyproject.toml') + print('no tasks found. add a [tool.taskipy.tasks] section to your pyproject.toml') sys.exit(127) commands = [] |