added yml/json/toml support, --help flag, and example directory

Signed-off-by: Andrey Nering <andrey.nering@gmail.com>
This commit is contained in:
Travis
2017-02-28 08:13:48 -08:00
committed by Andrey Nering
parent a15cf26842
commit 61b1aa8559
4 changed files with 64 additions and 9 deletions

11
example/Taskfile.json Normal file
View File

@@ -0,0 +1,11 @@
{
"hello": {
"cmds": [
"echo \"I am going to write a file named 'output.txt' now.\"",
"echo \"hello\" > output.txt"
],
"generates": [
"output.txt"
]
}
}

6
example/Taskfile.yml Normal file
View File

@@ -0,0 +1,6 @@
hello:
cmds:
- echo "I am going to write a file named 'output.txt' now."
- echo "hello" > output.txt
generates:
- output.txt