Documentation
¶
Overview ¶
Package configutil contains utilities for operating on the wbctl config file path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsKnownFormat ¶
IsKnownFormat reports whether the given path's extension is a format type viper knows how to parse.
func ResolvePath ¶
ResolvePath returns the config file path, preferring the $WBCONFIG environment variable, falling back to the default path in the user's home directory. isDefault is true when no $WBCONFIG value was set, which lets callers decide whether a missing file should be treated as "nothing to load/bootstrap" rather than an error.
Types ¶
This section is empty.