0.2.0 • Published 1 year ago
tasksw v0.2.0
Tasksw
Tasksw is a task runner, design to simplify running simple and orchestrated tasks.
installation
npm install tasksw -g
getting started
After the installation, describe your tasks inside tasks.json
:
{
"dev": "node dev.js",
"hello": "echo \"hello\""
}
To run a task, enter:
tasksw hello
for the full list of commands, enter:
taskw --help
examples
running normal task
// tasks.json
{
"hello": "echo \"hello\""
}
tasksw hello
# output
⠋ Executing (hello): echo "hello"
"hello"
✔ Successfully executed
running sequental tasks
// tasks.json
{
"hello": "echo \"hello\" ; echo \"world\""
}
tasksw hello
# output
⠋ Executing (hello): echo "world"
⠋ Executing (hello): echo "hello"
"hello"
✔ Successfully executed
"world"
✔ Successfully executed
To ignore tasksw
messages you could use --ignore
flag:
tasksw hello -i
# output
"hello"
"world"