This project is deprecated
Just use the newkaba
version (v4+), it doesn't needkaba-cli
anymore.
The CLI runner for kaba.
Install it globally for all projects:
$ npm install -g kaba-cli
Go to the directory containing the local kaba module and just run kaba:
$ kaba taskname
where taskname
is the task name of your choice.
Tasks may support a debug mode, that doesn't minify files, includes sourcemaps or starts watchers. Just pass --dev
or --debug
or -d
to enable debug mode:
$ kaba taskname --debug
If you run kaba in a directory without kabafile.js
, the runner automatically traverses through the parent directories looking for a kabafile. If it finds one it will be used and executed. See the docs of Liftoff for details.
If the kabafile or one of the tasks throw an error, you can rethrow the error in kaba-cli (to get a proper call stack) by passing the verbose flag -v
.