mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
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