package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Nov 1, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Main struct {
Num int `help:"How many does it take?"`
Vehicle string `help:"What did they get?"`
}
Main has a couple basic fields with tags which will be used to set up flags
with the given help strings.
NewMain makes a Main and sets up the default values (which will be used by
commandeer as flag defaults).
func (*Main) Run ¶
Run implements the Runner interface so that commandeer.Run can be used with
Main.
Source Files
¶
Directories
¶
cmd
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.