aboutsummaryrefslogtreecommitdiffstats
path: root/task
diff options
context:
space:
mode:
authorRoy Sommer <roy@sommer.co.il>2019-12-23 00:13:27 +0200
committerRoy Sommer <roy@sommer.co.il>2019-12-23 00:13:27 +0200
commit4c6711a8d7e6d8aaecc0c6499f416dfea1ff3f6a (patch)
treeaf4c524f908c394bcd13feb4f0b34270b8a6ec7b /task
parentv1.0.0 (diff)
downloadtaskipy2-4c6711a8d7e6d8aaecc0c6499f416dfea1ff3f6a.zip
renaming
Diffstat (limited to '')
-rwxr-xr-xtaskipy/cli.py2
-rw-r--r--taskipy/run.py4
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 = []