Closed lnicola closed 4 weeks ago
I have this config.yaml:
config.yaml
--- api-key: 'hello' api-host: 'http://127.0.0.1:2283/api' original-path: '/tank/path' replace-path: '/usr/src/app/external'
(also tried without --- and quotes)
---
But I get:
$ im -r --dry-run --config config.yaml /tank/path Loading config from: config.yaml Usage: im [OPTIONS] PATH Try 'im --help' for help. Error: Missing option '--api-key'.
Probably missing something though.
Same for me
Same.
Issue is that variables in yaml should use underscore instead of hypen.
Ex. api_key instead of api-key
It was already working but documentation was wrrong. I updated it.
I have this
config.yaml
:(also tried without
---
and quotes)But I get:
Probably missing something though.