Clean up kubectl help for auto-gen'd kubectl.md

This commit is contained in:
MikeJeffrey
2015-02-03 09:59:21 -08:00
committed by Michael Jeffrey
parent 3f90de3f80
commit e5459c8802
14 changed files with 240 additions and 216 deletions

View File

@@ -38,11 +38,12 @@ func (f *Factory) NewCmdCreate(out io.Writer) *cobra.Command {
JSON and YAML formats are accepted.
Examples:
$ kubectl create -f pod.json
<create a pod using the data in pod.json>
$ cat pod.json | kubectl create -f -
<create a pod based on the json passed into stdin>`,
$ kubectl create -f pod.json
// Create a pod using the data in pod.json.
$ cat pod.json | kubectl create -f -
// Create a pod based on the JSON passed into stdin.`,
Run: func(cmd *cobra.Command, args []string) {
schema, err := f.Validator(cmd)
checkErr(err)