flags-lib

command
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 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