Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExitCodeSuccess indicates the program ran successfully. ExitCodeSuccess = 0 // ExitCodeErr indicates the program encountered an error. ExitCodeErr = 1 // ExitCodeInterrupt indicates the program was cancelled. ExitCodeInterrupt = 2 )
Variables ¶
This section is empty.
Functions ¶
func LoadHierarchicalConfig ¶
func LoadHierarchicalConfig(cmd *cobra.Command) config.DataStoreLoaderFunc
LoadHierarchicalConfig loads data with the following precedence: * User set flag Flags (highest) * Environment variables where --flag is assumed to be PORTER_FLAG * Config file * Flag default (lowest)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.