Expand description
Hoprd configuration utility hoprd-cfg
This executable offers functionalities associated with configuration management of the HOPRd node configuration.
§Help
➜ hoprd-cfg --help
Usage: hoprd-cfg [OPTIONS]
Options:
-d, --default Print the default YAML config for the hoprd
-v, --validate <VALIDATE> Validate the config at this path
-h, --help Print help
-V, --version Print version
§Dump a default configuration file
➜ hoprd-cfg -d
hopr:
host:
address: !IPv4 0.0.0.0
port: 9091
... <snip>
§Validate an existing configuration YAML
➜ hoprd-cfg -v /tmp/bad-config.yaml
Error: ValidationError("The specified network 'anvil-localhost' is not listed as supported ([\"debug-staging\", \"dufour\", \"rotsee\"])")
➜ echo $?
1
Structs§
- CliArgs 🔒
Functions§
- main 🔒