Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 720 Bytes

CLI.md

File metadata and controls

25 lines (18 loc) · 720 Bytes

docs - API - CLI - REPL - logging - arguments

CLI

The initial aim of this project was to be able to run gulp tasks directly from a REPL. But when that was then possible, you would also assumme to be able to run the CLI from the REPL, right?

For this reason the gulp cli commands are set as tasks for each instance. This has turn to be useful to use them directly from other tasks.

Example:

var gulp = require('gulp-runtime').create();

gulp.task('info', ['--tasks', '--version']);
// other tasks...
gulp.task('default', ['info']);

Back to top ↑