Versions in this module Expand all Collapse all v1 v1.11.6 Jul 9, 2025 Changes in this version + const LevelErr + const LevelInfo + const LevelWarn + func GetBreakingLevels() []string + func GetSupportedLevels() []string + func GetSupportedLevelsLower() []string + func Run(args []string, stdout io.Writer, stderr io.Writer) int + type Config struct + Attributes []string + CaseInsensitiveHeaders bool + Color string + Composed bool + DeprecationDaysBeta uint + DeprecationDaysStable uint + ErrIgnore string + ExcludeElements []string + FailOn string + FailOnDiff bool + FilterExtension string + FlattenAllof bool + FlattenParams bool + Format string + IncludePathParams bool + Lang string + Level string + MatchPath string + PrefixBase string + PrefixRevision string + Severity []string + SeverityLevels string + StripPrefixBase string + StripPrefixRevision string + Tags []string + UnmatchPath string + WarnIgnore string + type Flags struct + func NewFlags() *Flags + type IViper interface + AddConfigPath func(in string) + BindPFlag func(key string, flag *pflag.Flag) error + ReadInConfig func() error + SetConfigName func(in string) + UnmarshalExact func(rawVal any, opts ...viper.DecoderConfigOption) error + type ReturnError struct + Code int + func RunViper(cmd *cobra.Command, v IViper) *ReturnError