Documentation ¶
Index ¶
- Constants
- Variables
- func GetBool(key string) bool
- func GetString(key string) string
- func GetToken() string
- func Init()
- func IsLoggedIn() bool
- func IsProjectInit() bool
- func SetGlobalConfig(key string, value interface{})
- func SetProjectConfig(key string, value interface{})
- func WriteGlobalConfig() error
- func WriteProjectConfig() error
Constants ¶
View Source
const ( Token = "token" AccountID = "account_id" ProjectSlug = "project_slug" )
Variables ¶
View Source
var GlobalConfigName string
View Source
var ProjectConfigName string
View Source
var ProjectDirectory string
Functions ¶
func IsLoggedIn ¶ added in v0.1.5
func IsLoggedIn() bool
func IsProjectInit ¶ added in v0.1.5
func IsProjectInit() bool
func SetGlobalConfig ¶ added in v0.1.5
func SetGlobalConfig(key string, value interface{})
func SetProjectConfig ¶ added in v0.1.5
func SetProjectConfig(key string, value interface{})
func WriteGlobalConfig ¶ added in v0.1.5
func WriteGlobalConfig() error
func WriteProjectConfig ¶ added in v0.1.5
func WriteProjectConfig() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.