Add Task Runner plugins to README
This commit is contained in:
parent
ba3e8ba8d1
commit
ddcef20649
2 changed files with 6 additions and 2 deletions
|
@ -97,6 +97,10 @@ cmd = readlineSync.prompt();
|
|||
|
||||
## With Task Runner
|
||||
|
||||
The easy way to control the flow of task runner by the user's response:
|
||||
* [Grunt](http://gruntjs.com/) plugin: [grunt-confirm](https://github.com/anseki/grunt-confirm)
|
||||
* [gulp](http://gulpjs.com/) plugin: [gulp-confirm](https://github.com/anseki/gulp-confirm)
|
||||
|
||||
If you want to control the flow of task runner (e.g. [Grunt](http://gruntjs.com/)), call readlineSync in a task callback that is called by task runner. Then the flow of tasks is paused and it is controlled by user.
|
||||
|
||||
Example: by using [grunt-task-helper](https://github.com/anseki/grunt-task-helper)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "readline-sync",
|
||||
"version": "0.4.9",
|
||||
"version": "0.4.10",
|
||||
"title": "readlineSync",
|
||||
"description": "Synchronous Readline",
|
||||
"keywords": [
|
||||
|
@ -26,4 +26,4 @@
|
|||
"name": "anseki",
|
||||
"url": "https://github.com/anseki"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue