Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Disabled []string
}
Config holds user preferences loaded from ~/.config/chop/config.yml.
func Load ¶
func Load() Config
Load reads the config file and returns a Config. Returns defaults if the file doesn't exist or can't be parsed.
func (Config) IsDisabled ¶
IsDisabled returns true if the given command is in the disabled list.
Click to show internal directories.
Click to hide internal directories.