flags-lib

command
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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

Overview

Example program "flags-lib" demonstrates how to register CLI flags and how to display their runtime values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL