Documentation
¶
Overview ¶
Package cli holds shared helpers for command-line handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyEnvDefaults ¶
ApplyEnvDefaults fills unset flags from environment variables. Precedence: explicit flag > environment variable > flag default. mapping is flagName -> ENV_VAR. Values are run through the flag's own parser, so a bad env value fails the same way a bad flag does.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.