egeberkaygulcan / dstest

2 stars 1 forks source link

:sparkles: link cobra to viper #15

Closed joaomlneto closed 2 months ago

joaomlneto commented 2 months ago

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.