Discover Packages
github.com/kooksee/g
gcmds
package
Version:
v0.0.8
Opens a new window with list of versions in this module.
Published: Apr 16, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
HomeFlag = "home"
TraceFlag = "trace"
)
Executor wraps the cobra Command with a nicer Execute method
execute adds all child commands to the root command sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
type ExitCoder interface {
ExitCode() int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.