File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import (
11
11
"github.com/weaveworks/weave-gitops-enterprise/cmd/gitops/pkg/adapters"
12
12
"github.com/weaveworks/weave-gitops/cmd/gitops/config"
13
13
"github.com/weaveworks/weave-gitops/cmd/gitops/get/bcrypt"
14
+ configCmd "github.com/weaveworks/weave-gitops/cmd/gitops/get/config"
14
15
)
15
16
16
17
func Command (opts * config.Options , client * adapters.HTTPClient ) * cobra.Command {
@@ -37,6 +38,7 @@ gitops get clusters`,
37
38
cmd .AddCommand (clusters .GetCommand (opts , client ))
38
39
cmd .AddCommand (profiles .GetCommand (opts , client ))
39
40
cmd .AddCommand (bcrypt .HashCommand (opts ))
41
+ cmd .AddCommand (configCmd .ConfigCommand (opts ))
40
42
41
43
return cmd
42
44
}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
19
19
"github.com/weaveworks/weave-gitops/cmd/gitops/check"
20
20
"github.com/weaveworks/weave-gitops/cmd/gitops/config"
21
21
"github.com/weaveworks/weave-gitops/cmd/gitops/docs"
22
+ "github.com/weaveworks/weave-gitops/cmd/gitops/set"
22
23
"github.com/weaveworks/weave-gitops/cmd/gitops/version"
23
24
"github.com/weaveworks/weave-gitops/pkg/kube"
24
25
"github.com/weaveworks/weave-gitops/pkg/utils"
@@ -113,6 +114,7 @@ func Command(client *adapters.HTTPClient) *cobra.Command {
113
114
rootCmd .AddCommand (docs .Cmd )
114
115
rootCmd .AddCommand (check .Cmd )
115
116
rootCmd .AddCommand (beta .GetCommand (options ))
117
+ rootCmd .AddCommand (set .SetCommand (options ))
116
118
117
119
return rootCmd
118
120
}
You can’t perform that action at this time.
0 commit comments