Progress on sub-commands, added unmarshalling

This commit is contained in:
2023-01-09 22:18:56 -06:00
parent ae87ccb4b5
commit 15a7ca6c3d
4 changed files with 190 additions and 116 deletions

View File

@ -32,7 +32,7 @@ func init() {
rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "config file to read from")
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "Sets verbose level")
rootCmd.PersistentFlags().Bool("viper", true, "use Viper for configuration")
}
func initConfig() {