Documentation
¶
Index ¶
- func CommandConfigPath() string
- func ConfigExists() bool
- func CreateDefaultConfig(p *BacklogSettings)
- func DeleteAlias(alias string) error
- func FindConfig(name string) (string, error)
- func GetAccessToken(setting BacklogSettings) (string, error)
- func GetRefreshToken(setting BacklogSettings) (string, error)
- func SetAlias(alias string, expansion string)
- func ShowConfigNotFound()
- func WriteConfig(space string, update *HostConfig)
- type Aliases
- type BacklogSettings
- type CommandConfig
- type Config
- type HostConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandConfigPath ¶
func CommandConfigPath() string
func ConfigExists ¶
func ConfigExists() bool
func CreateDefaultConfig ¶
func CreateDefaultConfig(p *BacklogSettings)
func DeleteAlias ¶
func FindConfig ¶
func GetAccessToken ¶
func GetAccessToken(setting BacklogSettings) (string, error)
func GetRefreshToken ¶
func GetRefreshToken(setting BacklogSettings) (string, error)
func ShowConfigNotFound ¶
func ShowConfigNotFound()
func WriteConfig ¶
func WriteConfig(space string, update *HostConfig)
Types ¶
type BacklogSettings ¶
type BacklogSettings struct { BacklogDomain string `json:"backlog_domain"` Organization string `json:"organization"` Project string `json:"project"` }
func GetBacklogSetting ¶
func GetBacklogSetting() (BacklogSettings, error)
type CommandConfig ¶
type CommandConfig struct {
Aliases Aliases `json:"aliases"`
}
type HostConfig ¶
Click to show internal directories.
Click to hide internal directories.