Yaml Runner is a python library that provides a command-line interface to run commands stored in a yaml file.
pip install git+https://github.com/rdkcentral/yaml_runner.git@master
The easiest way of using this library is to run it in a main function. See yaml_runner_run.py
This library can also be extended for more advanced usages. The easiest way is to inherit it in a class and extend it there.
Here is an example of a yaml config that will run with yaml_runner test_config.yml. It has comments explaining how the sections are used. This config can be tested with the yaml_runner_run.py by running the following commands.
git clone https://github.com/rdkcentral/yaml_runner.git
cd yaml_runner/examples
./yaml_runner_run.py --config test_config.yml --help
See contributing file: CONTRIBUTING.md
See license file: LICENSE