recipe-runner/rr-cli
Composer 安装命令:
composer require recipe-runner/rr-cli
包简介
关键字:
README 文档
README
Requires
- PHP +7.3
- Composer +1.9
Installation
The preferred installation method is composer:
composer require recipe-runner/rr-cli
Usage
Inside the folder ./bin, there is an executable file called rr
./bin/rr
Run your first recipe
- 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
Unit tests
You can run the unit tests with the following command:
$ cd rr-cli $ composer test
License
This library is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-14