Documentation
¶
Overview ¶
Package config loads manly's user configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Root string `koanf:"root"`
Defaults Defaults `koanf:"defaults"`
Display Display `koanf:"display"`
Analytics Analytics `koanf:"analytics"`
}
Config is the validated runtime configuration for one invocation.
type Defaults ¶
type Defaults struct {
Format string `koanf:"format"`
List ListDefaults `koanf:"list"`
}
Defaults contains command defaults.
type ListDefaults ¶
type ListDefaults struct {
Recursive bool `koanf:"recursive"`
}
ListDefaults contains list command defaults.
Click to show internal directories.
Click to hide internal directories.