With CLI
Installation
npm i node-aigis
Version & Help
Show version
$ ./node_modules/.bin/aigis --version
1.0.0
Show help
$ ./node_modules/.bin/aigis --help
Usage: aigis run -c ./path/to/aigis_config.yml
Commands:
run Generate style guide
init Copy template & theme & config file
Options:
-v, --version Show version number [boolean]
-h, --help Show help [boolean]
Examples:
node_modules/.bin/aigis run -c ./config_file.yml
node_modules/.bin/aigis init -e jade
Run aigis
./node_modules/.bin/aigis run
options
name |
alias |
value |
--config |
-c |
./path/to/aigis_config.yml |
Init config file & templats
./node_modules/.bin/aigis init
options
name |
alias |
value |
--engine |
-e |
ejs, jade, hbs |
With gulp
Installation
$ npm install --save-dev gulp-aigis
Run gulp-aigis
var gulp = require('gulp');
var aigis = require('gulp-aigis');
gulp.task('aigis', function() {
return gulp.src('./path/to/aigis_config.yml')
.pipe(aigis());
});