What's Changed
- Actions from file by @bkupidura in #23
Actions can be now tested (dmh-cli action test) and added (dmh-cli action add) from yaml file. File will support both nested json and nice yaml.
$ cat actions.yaml
- kind: dummy
data: '{"message": "test nested"}'
process_after: 1
min_interval: 0
comment: test with nestes json in yaml
- kind: dummy
data:
message: test nice yaml
process_after: 2
min_interval: 1
comment: test with nice yaml
$ dmh-cli action add -f actions.yaml
Actions added successfully
- Security hardening by @bkupidura in #24
Full Changelog: 0.3.4...0.3.5