diff --git a/README.md b/README.md index 1b7e8ef..8d6ae37 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index 9435f3b..50ca969 100644 --- a/package.json +++ b/package.json @@ -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" } -} \ No newline at end of file +}