Gulp prompt
THIS REPOSITORY NEED A NEW MAINTAINER
I don't use atom for a while... like 2years and i don't have time to maintain this repository. If someone wants to be involved, just drop me an email.
Add interaction to gulp tasks.
.confirm([options])
Options:
- message - Message to be displayed
- default - Default response if none is provided
This method will allow the pipe to continue if the user input is true, otherwise, it will be terminated.
Default usage:
gulp ;
If a string is provided to the options, it will be set as the message:
gulp ;
Example when using options:
gulp ;
.prompt(questions, callback)
This is a clean pass-through function for gulp to utilize the full Inquirer.js Library, please refer to them for documentation on corresponding parameters.
Please note that all types are avaiable, not just the examples below.
Example Input:
gulp ;
Example Checkbox:
gulp ;
Example Password:
gulp ;
Example Multiple:
gulp ;
Example Validation:
gulp ;