UNPKG

gulp-io

Version:

iio's front-end build tools.

22 lines (21 loc) 722 B
module.exports = function(gulp, plugins) { gulp.task('help', function() { var colors = require('chalk'); console.log( colors.yellow('\nAvailable tasks and sub tasks') + '\n-----------------------------\n' ); for (var task in gulp.tasks) { if (gulp.tasks[task].name !== 'default') { console.log(' ' + colors.bold.blue(gulp.tasks[task].name)); } } console.log( colors.yellow('\n As an example you can run') + '\n--------------------------\n' + colors.bold.black(' ' + '$ gulp ') + colors.gray.bold('js less:watch\n') ); }); return gulp; };