Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoFilepath ¶
func AutoFilepath() string
AutoFilepath is the automatically detected path of the currently used config file
func DefaultFilepath ¶
DefaultFilepath returns the default in the system for the config file. It should be used if no explicit path to a config file is given.
func GetProfiles ¶
func GetProfiles() map[string]*model.ConfigProfile
GetProfiles returns a map list of currently loaded and available profiles
func UpdateConfigFileProfileContents ¶
func UpdateConfigFileProfileContents(configFilepath string, configProfiles map[string]*model.ConfigProfile) error
UpdateConfigFileProfileContents overwrites the profiles in the given config filepath with the given list of profiles
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.