Discover Packages
github.com/betable/flagenv
package
module
Version:
v0.0.0-...-f7e073f
Opens a new window with list of versions in this module.
Published: Mar 19, 2015
License: BSD-3-Clause
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.
README
README
¶
Expand ▾
Collapse ▴
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
¶
Click to show internal directories.
Click to hide internal directories.