Runnerty module: Iterable executor
npm install @runnerty/executor-iterableSmart Processes Management
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]
Through NPM
``bash`
npm i @runnerty/executor-iterable
You can also add modules to your project with [runnerty-cli]
`bash`
npx runnerty-cli add @runnerty/executor-iterable
This command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.
If you have installed [runnerty-cli] globally you can include the module with this command:
`bash`
rty add @runnerty/executor-iterable
Add in [config.json]:
`json`
{
"id": "iterable_default",
"type": "@runnerty-executor-iterable"
}
Add in [plan.json]:
- Object
`json`
{
"id": "iterable_default",
"objects": [
{ "key1": "val1", "key2": "val2" },
{ "key1": "val1_1", "key2": "val2_2" },
{ "key1": "val1_2", "key2": "val2_3" }
]
}
- String
`json`
{
"id": "iterable_default",
"objects": "@GV(VAR_JSON_STRINGIFY)"
}
- JSON File
`json``
{
"id": "iterable_default",
"jsonFile": "sample.json"
}
[runnerty]: http://www.runnerty.io
[downloads-image]: https://img.shields.io/npm/dm/@runnerty/executor-iterable.svg
[npm-url]: https://www.npmjs.com/package/@runnerty/executor-iterable
[npm-image]: https://img.shields.io/npm/v/@runnerty/executor-iterable.svg
[david-badge]: https://david-dm.org/runnerty/executor-iterable.svg
[david-badge-url]: https://david-dm.org/runnerty/executor-iterable
[config.json]: http://docs.runnerty.io/config/
[plan.json]: http://docs.runnerty.io/plan/
[runnerty-cli]: https://www.npmjs.com/package/runnerty-cli