Documentation
¶
Overview ¶
Package args handles parsing command line arguments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextCfg ¶
type ContextCfg string
ContextCfg is the key used when getting/setting the Options struct from the context object.
type Options ¶
type Options struct { // Log defines the logging level that should be used. Log string // Version displays the version information and exits. Version bool }
Options contains all supported cmd line arguments.
func GetOptions ¶
GetOptions fetches the stored configuration settings from the context.
Click to show internal directories.
Click to hide internal directories.