Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalFlags ¶
type GlobalFlags struct {
Silent bool
Debug bool
Config string
Context string
Namespace string
LogOutput string
}
GlobalFlags is the flags that contains the global flags
func SetGlobalFlags ¶
func SetGlobalFlags(flags *flag.FlagSet, log log.Logger) *GlobalFlags
SetGlobalFlags applies the global flags
func (*GlobalFlags) LoadedConfig ¶
func (g *GlobalFlags) LoadedConfig(log log.Logger) *config.CLI
Click to show internal directories.
Click to hide internal directories.