Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvConfig ¶
type EnvConfig struct {
EMPOROUS_DEV_MODE bool // true: show unimplemented stubs in --help
}
EnvConfig stores CLI runtime configuration from environment variables. Struct field names should match the name of the environment variable that the field is derived from.
func ReadEnvConfig ¶
func ReadEnvConfig() EnvConfig
type RootOptions ¶
type RootOptions struct { IOStreams genericclioptions.IOStreams LogLevel string Logger log.Logger CacheDir string EnvConfig }
RootOptions describe global configuration options that can be set.
Click to show internal directories.
Click to hide internal directories.