add kubectl api-resources command

This commit is contained in:
xilabao
2017-03-10 14:52:34 +08:00
committed by Chen Rong
parent 11104d75f1
commit 110641b34c
8 changed files with 230 additions and 0 deletions

View File

@@ -346,6 +346,7 @@ func NewKubectlCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cob
cmds.AddCommand(NewCmdPlugin(f, in, out, err))
cmds.AddCommand(NewCmdVersion(f, out))
cmds.AddCommand(NewCmdApiVersions(f, out))
cmds.AddCommand(NewCmdApiResources(f, out))
cmds.AddCommand(NewCmdOptions(out))
return cmds