Documentation ¶
Index ¶
- Variables
- type Alias
- type Aliases
- func (aliases *Aliases) Add(name, value, description string)
- func (aliases *Aliases) ReadFromFile() error
- func (aliases *Aliases) Remove(name string)
- func (aliases *Aliases) RemoveAll()
- func (aliases *Aliases) Update(name, fieldToUpdate, fieldNewValue string) bool
- func (aliases *Aliases) WriteToFile() error
Constants ¶
This section is empty.
Variables ¶
View Source
var AliasCmd = &cobra.Command{
Use: "alias",
Short: "Use server aliases",
Long: "Use server aliases to connect to servers",
}
AliasCmd represents the base alias command
View Source
var AliasFilePath string
Functions ¶
This section is empty.
Types ¶
type Aliases ¶
func (*Aliases) ReadFromFile ¶
func (*Aliases) WriteToFile ¶
Click to show internal directories.
Click to hide internal directories.