// NewListCmdConfigFromViper generate config for list command from viper
NewListCmdConfigFromViper generate config for list command from viper
// NewListCmdConfigFromViper generate config for list command from viper
func NewListCmdConfigFromViper() (*ListCmdConfig, error) {
	var conf ListCmdConfig
	if err := viper.Unmarshal(&conf); err != nil {
		return nil, fmt.Errorf("failed to unmarshal config from viper: %w", err)
	}
	return &conf, nil
}
func NewListCmdConfigFromViper ( ) ( * ListCmdConfig , error ) { var conf ListCmdConfig if err := viper . Unmarshal ( & conf ) ; err != nil { return nil , fmt . Errorf ( " " , err ) } return & conf , nil }
NewListCmdConfigFromViper generate config for list command from viper
NewListCmdConfigFromViper generate config for list command from viper