Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Config ¶
type Config struct { // Aliases are raw aliases that allow to expand a command // "scw instance sl", sl may be an alias and would expand command // "scw instance server list" // key = sl // value = server, list Aliases map[string][]string `yaml:"aliases"` // contains filtered or unexported fields }
func EmptyConfig ¶
func EmptyConfig() *Config
func (*Config) DeleteAlias ¶
DeleteAlias deletes an alias return true if alias was deleted
func (*Config) ResolveAliases ¶
ResolveAliases resolve aliases in given command "scw isl" may return "scw instance server list"
Click to show internal directories.
Click to hide internal directories.