- PHP +7.3
- Composer +1.9
The preferred installation method is composer:
composer require recipe-runner/rr-cli
Inside the folder ./bin
, there is an executable file called rr
./bin/rr
- Copy the following YAML code into a file called
example.rr.yml
:
name: "Very simple example using IO module"
extra:
rr:
packages:
"recipe-runner/io-module": "1.0.x-dev"
steps:
- actions:
- name: "Greeting"
write: "Hi user. Welcome :)"
- ask: "How are you? "
register: "response"
- write: "The Response was: '{{response['response']}}'"
- Run the recipe:
./bin/rr run example.rr.yml
You can run the unit tests with the following command:
$ cd rr-cli
$ composer test
This library is open-sourced software licensed under the MIT license.