npm install --save-dev gulp-wrapper-baki
shell
$(npm bin)/baki task_name option1 option2 option3 ...
package.json
"scripts": {
"task_name": "baki task_name"
}
shell
npm run task_name option1 option2 option3 ...
var gulp = require('gulp');
var gutil = require('gulp-util');
gulp.task('task_name', function(){
var options = JSON.parse(gutil.env.baki);
options.forEach(function(op){
console.log(op);
});
});