Documentation
¶
Index ¶
Constants ¶
View Source
const CONFIG_DEFAULT_PATH = "config.json"
Variables ¶
This section is empty.
Functions ¶
func OpenConfig ¶
OpenConfig reads a config file from a path "config" taken from cli.Context. If fallbackDefaults is true, it returns a default config if no config path is specified by the user AND if the default config location does not exist.
Otherwise, if a config path is specified but does not exist, it returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.