add instance
This commit is contained in:
parent
eb4c287da0
commit
df640f65fa
|
@ -60,6 +60,11 @@ func Command() *cli.Server {
|
|||
return std.Command()
|
||||
}
|
||||
|
||||
func ShortName() string {
|
||||
initApplication()
|
||||
return std.opts.ShortName()
|
||||
}
|
||||
|
||||
func Handle(method string, cb HandleFunc) {
|
||||
initApplication()
|
||||
std.Handle(method, cb)
|
||||
|
|
Loading…
Reference in New Issue