Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶ added in v1.0.49
WriteConfig will write the config into the path location
Types ¶
type Config ¶
type Config struct {
// Token is the user token
Token string `yaml:"token"`
// Organizations is the list of Organization where the user
// is currently logged in
Organizations map[string]Organization `yaml:"organizations"`
}
Config is the structure handling the config of the CLI
func ReadConfig ¶ added in v1.0.49
ReadConfig will read the config from the path and returns a config struct
type Organization ¶
type Organization struct {
// Organization token
Token string `yaml:"token"`
}
Organization is an organization where the user is logged in
Click to show internal directories.
Click to hide internal directories.