mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-22 06:47:00 +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) {
|
||||
fmt.Fprintln(w, kubernetesapi.Info)
|
||||
},
|
||||
Hidden: true,
|
||||
}
|
||||
|
||||
return &infoCmd
|
||||
|
||||
@@ -18,6 +18,7 @@ func NewCmdOpenAPI(w io.Writer) *cobra.Command {
|
||||
Use: "openapi",
|
||||
Short: "Commands for interacting with the OpenAPI data",
|
||||
Example: `kustomize openapi info`,
|
||||
Hidden: true,
|
||||
}
|
||||
|
||||
openApiCmd.AddCommand(info.NewCmdInfo(w))
|
||||
|
||||
Reference in New Issue
Block a user