We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91ad0fd + 448619b commit 36a54adCopy full SHA for 36a54ad
cmd/clusterctl/cmd/root.go
@@ -106,6 +106,8 @@ var RootCmd = &cobra.Command{
106
107
// Execute executes the root command.
108
func Execute() {
109
+ handlePlugins()
110
+
111
if err := RootCmd.Execute(); err != nil {
112
if verbosity != nil && *verbosity >= 5 {
113
if err, ok := err.(stackTracer); ok {
@@ -146,8 +148,6 @@ func init() {
146
148
RootCmd.SetCompletionCommandGroupID(groupOther)
147
149
150
cobra.OnInitialize(initConfig, registerCompletionFuncForCommonFlags)
-
- handlePlugins()
151
}
152
153
func initConfig() {
0 commit comments