Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalAfterAction ¶
func GlobalAfterAction(c *cli.Context) error
GlobalAfterAction
do command Action after flag global.
func GlobalBeforeAction ¶
func GlobalBeforeAction(c *cli.Context) error
GlobalBeforeAction do command Action before flag global.
func HideGlobalFlag ¶
func HideGlobalFlag() []cli.Flag
Types ¶
type GlobalCommand ¶
type GlobalCommand struct { Name string Version string Verbose bool RootCfg GlobalConfig }
GlobalCommand
command root
func CmdGlobalEntry ¶
func CmdGlobalEntry() *GlobalCommand
CmdGlobalEntry
return global command entry
type GlobalConfig ¶
Click to show internal directories.
Click to hide internal directories.