Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Filename string
Filename is set to a full filename if the default config file is overridden by a command-line switch
Functions ¶
func CivoAPIClient ¶
CivoAPIClient returns a civogo client using the current default API key
func SaveConfig ¶
func SaveConfig()
SaveConfig saves the current configuration back out to a JSON file in either ~/.civo.json or Filename if one was set
Types ¶
type Config ¶
Config describes the configuration for Civo's CLI
var Current Config
Current contains the parsed ~/.civo.json file
Click to show internal directories.
Click to hide internal directories.