Discover Packages
github.com/refunc/refunc
pkg
utils
cmdutil
pflagenv
package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Oct 28, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package flagenv provides the ability to populate flags from
environment variables.
Specify a prefix for environment variables.
Parse will set each defined flag from its corresponding environment
variable . If dots or dash are presents in the flag name, they will be
converted to underscores.
If Parse fails, a fatal error is issued.
ParseSet parses the given flagset. The specified prefix will be applied to
the environment variable names.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.