1
0
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:
Asim 2016-01-04 11:25:58 +00:00
parent 227adc490c
commit 9ecbf0d71b

View File

@ -340,6 +340,14 @@ func (c *cmd) Init(opts ...Option) error {
return nil return nil
} }
func DefaultOptions() Options {
return DefaultCmd.Options()
}
func App() *cli.App {
return DefaultCmd.App()
}
func Init(opts ...Option) error { func Init(opts ...Option) error {
return DefaultCmd.Init(opts...) return DefaultCmd.Init(opts...)
} }