mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 10:00:56 +00:00
oopsHideProperCommand
This commit is contained in:
@@ -21,7 +21,6 @@ func NewCmdInfo(w io.Writer) *cobra.Command {
|
|||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Fprintln(w, kubernetesapi.Info)
|
fmt.Fprintln(w, kubernetesapi.Info)
|
||||||
},
|
},
|
||||||
Hidden: true,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return &infoCmd
|
return &infoCmd
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ func NewCmdOpenAPI(w io.Writer) *cobra.Command {
|
|||||||
Use: "openapi",
|
Use: "openapi",
|
||||||
Short: "Commands for interacting with the OpenAPI data",
|
Short: "Commands for interacting with the OpenAPI data",
|
||||||
Example: `kustomize openapi info`,
|
Example: `kustomize openapi info`,
|
||||||
|
Hidden: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
openApiCmd.AddCommand(info.NewCmdInfo(w))
|
openApiCmd.AddCommand(info.NewCmdInfo(w))
|
||||||
|
|||||||
Reference in New Issue
Block a user