Add Task Runner plugins to README

This commit is contained in:
anseki 2014-12-04 19:28:21 +09:00
parent ba3e8ba8d1
commit ddcef20649
2 changed files with 6 additions and 2 deletions

View file

@ -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)

View file

@ -1,6 +1,6 @@
{
"name": "readline-sync",
"version": "0.4.9",
"version": "0.4.10",
"title": "readlineSync",
"description": "Synchronous Readline",
"keywords": [