Documentation
¶
Index ¶
- func GetAllCommandAliases() map[string]string
- func GetAllHelpAliases() map[string]string
- func GetAllHelpTopics() []string
- func GetAllLegendAliases(area ...string) map[rune]string
- func LoadAliases(f ...fileloader.ReadableGroupFS)
- func TryCommandAlias(input string) string
- func TryDirectionAlias(input string) string
- func TryHelpAlias(input string) string
- type Aliases
- type HelpTopic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllCommandAliases ¶
func GetAllHelpAliases ¶
func GetAllHelpTopics ¶
func GetAllHelpTopics() []string
func GetAllLegendAliases ¶
func LoadAliases ¶
func LoadAliases(f ...fileloader.ReadableGroupFS)
Loads the ansi aliases from the config file Only if the file has been modified since the last load
func TryCommandAlias ¶
func TryDirectionAlias ¶
func TryHelpAlias ¶
Types ¶
type Aliases ¶
type Aliases struct {
Help map[string]map[string][]string `yaml:"help"`
HelpAliases map[string][]string `yaml:"help-aliases"`
CommandAliases map[string][]string `yaml:"command-aliases"`
DirectionAliases map[string]string `yaml:"direction-aliases"`
MapLegendOverrides map[string]map[string]string `yaml:"legend-overrides"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.