-
Notifications
You must be signed in to change notification settings - Fork 2
UsageStyle of package cli
suntong edited this page May 12, 2018
·
2 revisions
The package github.com/go-easygen/cli
has four UsageStyles.
Using the help message of wireframe
to showcase them all:
$ wireframe
wire framing
Version 0.1.0 built on 2018-05-12
Tool to showcase wire-framing command line app fast prototype
Options:
-h, --help
display help information
-c, --config[=wireframe_cfg.json]
config file
-H, --host[=$HOST]
host addr
-p, --port
listening port
-D, --daemonize
daemonize the service
-v, --verbose
Verbose mode (Multiple -v options increase the verbosity.)
Commands:
put Upload into service
get Get from the service
$ wireframe
wire framing
Version 0.1.0 built on 2018-05-12
Tool to showcase wire-framing command line app fast prototype
Options:
-h, --help
display help information
-c, --config[=wireframe_cfg.json]
config file
-H, --host[=$HOST]
host addr
-p, --port
listening port
-D, --daemonize
daemonize the service
-v, --verbose
Verbose mode (Multiple -v options increase the verbosity.)
Commands:
put Upload into service
get Get from the service
$ wireframe
wire framing
Version 0.1.0 built on 2018-05-12
Tool to showcase wire-framing command line app fast prototype
Options:
-h, --help display help information
-c, --config[=wireframe_cfg.json] config file
-H, --host[=$HOST] host addr
-p, --port listening port
-D, --daemonize daemonize the service
-v, --verbose Verbose mode (Multiple -v options increase the verbosity.)
Commands:
put Upload into service
get Get from the service
$ wireframe
wire framing
Version 0.1.0 built on 2018-05-12
Tool to showcase wire-framing command line app fast prototype
Options:
-h, --help display help information
-c, --config config file [=wireframe_cfg.json]
-H, --host host addr [=$HOST]
-p, --port listening port
-D, --daemonize daemonize the service
-v, --verbose Verbose mode (Multiple -v options increase the verbosity.)
Commands:
put Upload into service
get Get from the service