mirror of
https://github.com/go-micro/go-micro.git
synced 2025-03-17 20:28:06 +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…
x
Reference in New Issue
Block a user