Documentation
¶
Index ¶
- Constants
- func Adapter(router *Router)
- func Alias(cmd string, alias ...string)
- func AliasMany(alias map[string][]string)
- func Init(param []string)
- func Register(name string, cmd interface{})
- func RegisterApps(data map[string]interface{})
- func SubCommand(able bool)
- type ActionInterface
- type App
- type Command
- type Router
Constants ¶
View Source
const ( AppMethodInit = "Init" AppMethodRun = "Run" AppMethodNoSubC = "SubCommandUnfind" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type Command ¶
type Command struct {
App App
}
func (*Command) SubCommandUnfind ¶ added in v0.1.1
二级命令应用
Click to show internal directories.
Click to hide internal directories.