Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { ConfigFile string LogLevel string ProfileName string AccessToken string SandboxAccessToken string ProductionAccessToken string SandboxBaseUrl string ProductionBaseUrl string Environment flags.EnvironmentFlag }
Profile handles all things related to managing the project specific configurations
func (*Profile) CreateProfile ¶ added in v0.0.3
CreateProfile creates a profile when running init
func (*Profile) GetAccessToken ¶
func (*Profile) GetBaseURL ¶ added in v0.0.6
func (*Profile) GetConfigField ¶ added in v0.0.3
GetConfigField returns the configuration field for the specific profile
func (*Profile) GetConfigFolder ¶
GetConfigFolder retrieves the folder where the config file is stored
func (*Profile) InitConfig ¶
func (p *Profile) InitConfig()
InitConfig reads in config file and ENV variables if set.
Click to show internal directories.
Click to hide internal directories.