0.0.3 • Published 7 years ago

rsvp-cli v0.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

RSVP-CLI

Runs a specified command and attempts to answer the questions automatically. The responder is experimental so please be careful!

Installation

npm install -g rsvp-cli

##Usage

Add a json file like so

{
  "cmd": "node test/prompt",
  "responses": [
    {
      "regex": "response 1",
      "response": "yes"
    },
    {
      "regex": "response 2",
      "response": "no"
    },
    {
      "regex": "response 3",
      "response": "maybe"
    }
  ]
}

Execute the command like below with a path to the above file

rsvp-cli -f=test/commands.json
0.0.3

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago