Documentation
¶
Index ¶
- Constants
- type Config
- func (c *Config) Get(ctx *cli.Context, key string) (string, error)
- func (c *Config) GetAlias(alias string) (string, error)
- func (c *Config) GetAliases() (map[string]string, error)
- func (c *Config) GetByEnvironment(ctx *cli.Context, key string) (string, error)
- func (c *Config) Set(ctx *cli.Context, key string, value string) error
- func (c *Config) SetByEnvironment(ctx *cli.Context, key string, value string) error
Constants ¶
View Source
const ( KeyActive string = "active" KeyAlias string = "aliases" KeyEnvironment string = "environments" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetByEnvironment ¶
Click to show internal directories.
Click to hide internal directories.