From ff080abe550af90a8445332058434743ee7529c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardas=20Ali=C5=A1auskas?= Date: Wed, 7 Oct 2020 15:37:44 +0700 Subject: add list command which lists tasks (#21) * add list command which lists tasks * refactor list argument as a flag add tests and readme for --list flag * more tests * Update tests/test_taskipy.py Co-authored-by: Roy Sommer * refactor listing to taskrunner fix tests and cli to handle --list following arguments cases Co-authored-by: Roy Sommer --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7dc7cda..a259126 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,10 @@ lint = "pylint tests taskipy" ### Running Tasks In order to run a task, run the following command in your terminal: ```bash -poetry run task test +$ poetry run task --list +test python -m unittest tests/test_*.py +lint pylint tests taskipy +$ poetry run task test ``` ### Passing Command Line Args to Tasks -- cgit v1.2.3