@runnerty/executor-iterable
v3.2.0
Published
Runnerty module: Iterable executor
Downloads
6
Readme
Iterable executor for Runnerty:
Installation:
Through NPM
npm i @runnerty/executor-iterable
You can also add modules to your project with runnerty-cli
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:
rty add @runnerty/executor-iterable
Configuration:
Add in config.json:
{
"id": "iterable_default",
"type": "@runnerty-executor-iterable"
}
Plan sample:
Add in plan.json:
- Object
{
"id": "iterable_default",
"objects": [
{ "key1": "val1", "key2": "val2" },
{ "key1": "val1_1", "key2": "val2_2" },
{ "key1": "val1_2", "key2": "val2_3" }
]
}
- String
{
"id": "iterable_default",
"objects": "@GV(VAR_JSON_STRINGIFY)"
}
- JSON File
{
"id": "iterable_default",
"jsonFile": "sample.json"
}