Stop cobra adding a autogenerated comment when creating docs.

This is to avoid spamming pull requests.
This commit is contained in:
Billy Shambrook 2016-11-08 11:56:50 +00:00
parent 13919b066a
commit 7472349b86
43 changed files with 6 additions and 45 deletions

View File

@ -52,8 +52,8 @@ This command prints shell code which must be evaluation to provide interactive
completion of kops commands.`
example = `
# load in the kops completion code for bash (depends on the bash-completion framework).
source <(kops completion bash)`
# load in the kops completion code for bash (depends on the bash-completion framework).
source <(kops completion bash)`
)
var completionCmd = CompletionCmd{

View File

@ -49,6 +49,7 @@ func init() {
}
func (c *GenHelpDocsCmd) Run() error {
rootCommand.cobraCommand.DisableAutoGenTag = true
err := doc.GenMarkdownTree(rootCommand.cobraCommand, c.OutDir)
return err

View File

@ -39,4 +39,3 @@ It allows you to create, destroy, upgrade and maintain clusters.
* [kops upgrade](kops_upgrade.md) - upgrade clusters
* [kops version](kops_version.md) - Print the client version information
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -17,8 +17,9 @@ kops completion
### Examples
```
# load in the kops completion code for bash (depends on the bash-completion framework).
source <(kops completion bash)
# load in the kops completion code for bash (depends on the bash-completion framework).
source <(kops completion bash)
```
### Options
@ -45,4 +46,3 @@ source <(kops completion bash)
### SEE ALSO
* [kops](kops.md) - kops is kubernetes ops
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -38,4 +38,3 @@ kops create -f FILENAME
* [kops create instancegroup](kops_create_instancegroup.md) - Create instancegroup
* [kops create secret](kops_create_secret.md) - Create secrets
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -55,4 +55,3 @@ kops create cluster
### SEE ALSO
* [kops create](kops_create.md) - Create a resource by filename or stdin
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops create instancegroup
### SEE ALSO
* [kops create](kops_create.md) - Create a resource by filename or stdin
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -26,4 +26,3 @@ Create secrets.
* [kops create](kops_create.md) - Create a resource by filename or stdin
* [kops create secret sshpublickey](kops_create_secret_sshpublickey.md) - Create SSH publickey
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -35,4 +35,3 @@ kops create secret sshpublickey
### SEE ALSO
* [kops create secret](kops_create_secret.md) - Create secrets
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -28,4 +28,3 @@ Delete clusters
* [kops delete instancegroup](kops_delete_instancegroup.md) - Delete instancegroup
* [kops delete secret](kops_delete_secret.md) - Delete secret
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -38,4 +38,3 @@ kops delete cluster CLUSTERNAME [--yes]
### SEE ALSO
* [kops delete](kops_delete.md) - delete clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops delete instancegroup
### SEE ALSO
* [kops delete](kops_delete.md) - delete clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops delete secret
### SEE ALSO
* [kops delete](kops_delete.md) - delete clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -26,4 +26,3 @@ describe objects
* [kops](kops.md) - kops is kubernetes ops
* [kops describe secrets](kops_describe_secrets.md) - Describe secrets
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -35,4 +35,3 @@ kops describe secrets
### SEE ALSO
* [kops describe](kops_describe.md) - describe objects
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -28,4 +28,3 @@ edit items
* [kops edit federation](kops_edit_federation.md) - Edit federation
* [kops edit instancegroup](kops_edit_instancegroup.md) - Edit instancegroup
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops edit cluster
### SEE ALSO
* [kops edit](kops_edit.md) - edit items
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops edit federation
### SEE ALSO
* [kops edit](kops_edit.md) - edit items
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops edit instancegroup
### SEE ALSO
* [kops edit](kops_edit.md) - edit items
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -26,4 +26,3 @@ export clusters/kubecfg
* [kops](kops.md) - kops is kubernetes ops
* [kops export kubecfg](kops_export_kubecfg.md) - Generate a kubecfg file for a cluster
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops export kubecfg CLUSTERNAME
### SEE ALSO
* [kops export](kops_export.md) - export clusters/kubecfg
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -35,4 +35,3 @@ list or get objects
* [kops get instancegroups](kops_get_instancegroups.md) - get instancegroups
* [kops get secrets](kops_get_secrets.md) - get secrets
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -36,4 +36,3 @@ kops get clusters
### SEE ALSO
* [kops get](kops_get.md) - list or get objects
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -30,4 +30,3 @@ kops get federations
### SEE ALSO
* [kops get](kops_get.md) - list or get objects
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -30,4 +30,3 @@ kops get instancegroups
### SEE ALSO
* [kops get](kops_get.md) - list or get objects
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -36,4 +36,3 @@ kops get secrets
### SEE ALSO
* [kops get](kops_get.md) - list or get objects
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -26,4 +26,3 @@ import clusters
* [kops](kops.md) - kops is kubernetes ops
* [kops import cluster](kops_import_cluster.md) - Import existing cluster into the state store
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -35,4 +35,3 @@ kops import cluster
### SEE ALSO
* [kops import](kops_import.md) - import clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -26,4 +26,3 @@ rolling update clusters
* [kops](kops.md) - kops is kubernetes ops
* [kops rolling-update cluster](kops_rolling-update_cluster.md) - rolling-update cluster
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -39,4 +39,3 @@ kops rolling-update cluster
### SEE ALSO
* [kops rolling-update](kops_rolling-update.md) - rolling update clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ Manage secrets & keys
* [kops secrets expose](kops_secrets_expose.md) - Expose secrets
* [kops secrets get](kops_secrets_get.md) - Get secrets
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops secrets create
### SEE ALSO
* [kops secrets](kops_secrets.md) - Manage secrets & keys
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops secrets describe
### SEE ALSO
* [kops secrets](kops_secrets.md) - Manage secrets & keys
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops secrets expose
### SEE ALSO
* [kops secrets](kops_secrets.md) - Manage secrets & keys
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops secrets get
### SEE ALSO
* [kops secrets](kops_secrets.md) - Manage secrets & keys
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -26,4 +26,3 @@ Misc infrequently used commands
* [kops](kops.md) - kops is kubernetes ops
* [kops toolbox convert-imported](kops_toolbox_convert-imported.md) - Convert an imported cluster into a kops cluster
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -36,4 +36,3 @@ kops toolbox convert-imported
### SEE ALSO
* [kops toolbox](kops_toolbox.md) - Misc infrequently used commands
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -27,4 +27,3 @@ Update clusters
* [kops update cluster](kops_update_cluster.md) - Update cluster
* [kops update federation](kops_update_federation.md) - Update federation
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -39,4 +39,3 @@ kops update cluster
### SEE ALSO
* [kops update](kops_update.md) - update clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops update federation
### SEE ALSO
* [kops update](kops_update.md) - update clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -26,4 +26,3 @@ upgrade clusters
* [kops](kops.md) - kops is kubernetes ops
* [kops upgrade cluster](kops_upgrade_cluster.md) - Upgrade cluster
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -36,4 +36,3 @@ kops upgrade cluster
### SEE ALSO
* [kops upgrade](kops_upgrade.md) - upgrade clusters
###### Auto generated by spf13/cobra on 5-Nov-2016

View File

@ -29,4 +29,3 @@ kops version
### SEE ALSO
* [kops](kops.md) - kops is kubernetes ops
###### Auto generated by spf13/cobra on 5-Nov-2016