secretless-broker icon indicating copy to clipboard operation
secretless-broker copied to clipboard

use viper for standardised configuration (12 factor)

Open doodlesbykumbi opened this issue 7 years ago • 1 comments

consider using https://github.com/spf13/cobra for the CLI and https://github.com/spf13/viper.

viper would DRY out some of the 12-factor configuration implementation

doodlesbykumbi avatar Feb 02 '18 22:02 doodlesbykumbi

This makes sense to me for the top-level CLI flags (e.g. -debug), but not for the full configuration of listeners and handlers. Because I see Viper being written to handle simple flags rather than complex configuration objects.

kgilpin avatar Feb 13 '18 15:02 kgilpin