slow
This commit is contained in:
parent
060532015c
commit
c401262cd1
@ -45,6 +45,11 @@ func Execute(defCmd string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
if len(os.Args) > 1 {
|
||||||
|
if os.Args[1] == "completion" || os.Args[1] == "__complete" {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
cobra.OnInitialize(initConfig)
|
cobra.OnInitialize(initConfig)
|
||||||
cobra.OnInitialize(initClient)
|
cobra.OnInitialize(initClient)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user