Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Becklyn/kaba-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaba-cli

This project is deprecated
Just use the new kaba version (v4+), it doesn't need kaba-cli anymore.

The CLI runner for kaba.

Installation

Install it globally for all projects:

$ npm install -g kaba-cli

Usage

Go to the directory containing the local kaba module and just run kaba:

$ kaba taskname

where taskname is the task name of your choice.

Debug Mode

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

Config Discovery

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.

Debugging errors in your kabafile or your task

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.