Documentation ¶
Index ¶
- func GenerateAliases(flags []string, aliases []options.Alias, dir string) (map[string][]string, error)
- func GenerateAliasesFromCommand(a options.Alias, flag, dir string) ([]string, error)
- func GenerateAliasesFromFilePattern(a options.Alias, flag, dir string, allFileContents FileContentsMap) ([]string, error)
- func GenerateNamingConventionAlias(a options.Alias, flag string) (alias string, err error)
- type FileContentsMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAliases ¶
func GenerateAliases(flags []string, aliases []options.Alias, dir string) (map[string][]string, error)
GenerateAliases returns a map of flag keys to aliases based on config.
Types ¶
type FileContentsMap ¶
Map of full file path to file contents
Click to show internal directories.
Click to hide internal directories.