Documentation ¶
Index ¶
Constants ¶
View Source
const ( HomeFlag = "home" TraceFlag = "trace" )
Variables ¶
Functions ¶
Types ¶
type Executor ¶
type Executor struct { *cobra.Command Exit func(int) // this is os.Exit by default, override in tests }
Executor wraps the cobra Command with a nicer Execute method
Source Files ¶
Click to show internal directories.
Click to hide internal directories.