The highest tagged major version is
v2.
command
Version:
v2.1.0+incompatible
Opens a new window with list of versions in this module.
Published: May 9, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
flags example
To run the example, type:
go run main.go
Optionally, override default values of flags through the following CLI
options:
--ep-string <string-value>
--ep-int <integer-value>
--ep-int64 <64b-integer-value>
--ep-uint <unsigned-integer-value>
--ep-uint64 <unsigned-64b-integer-value>
--ep-bool <boolean-value>
--ep-duration <time-duration>
Documentation
¶
Example program "flags-lib" demonstrates how to register CLI flags
and how to display their runtime values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.