Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadUserConfig ¶
func LoadUserConfig(ctx *cli.Context) error
LoadUserConfig determines config location from the context and makes sure that the config file actually exists, creating it if necessary.
func LoadUserConfigQuietly ¶
func LoadUserConfigQuietly(ctx *cli.Context) error
LoadUserConfigQuietly like LoadUserConfig, but instead of returning an error, it logs it on a `warn` level. `error` is specified as a return to adhere to `cli.BeforeFunc` for convenience.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.