Closed joaomlneto closed 2 months ago
This links cobra (CLI) with viper (config).
We can set the path to the configuration file via --config or -c.
--config
-c
Default is ./config/config.yml, which loads the same file as before.
./config/config.yml
This links cobra (CLI) with viper (config).
We can set the path to the configuration file via
--config
or-c
.Default is
./config/config.yml
, which loads the same file as before.