Let me do some stuff with the global command
This commit is contained in:
parent
227adc490c
commit
9ecbf0d71b
@ -340,6 +340,14 @@ func (c *cmd) Init(opts ...Option) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func DefaultOptions() Options {
|
||||
return DefaultCmd.Options()
|
||||
}
|
||||
|
||||
func App() *cli.App {
|
||||
return DefaultCmd.App()
|
||||
}
|
||||
|
||||
func Init(opts ...Option) error {
|
||||
return DefaultCmd.Init(opts...)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user