examples/config.yml
commands:
hello_world:
command: 'echo "Hello {{world}}"'
new_file:
command: 'echo "{{contents}}" > {{filename}}; echo "DONE"'
params:
filename: '^[a-z]+$' # Some Regexp
contents: '^[a-zA-Z0-9]*$'
hehe:
command: 'echo "{{name}}, are you {{state}}?"'
params:
name: '^[a-zA-Z]+$'
state: '^\S+$'