Jeff Lowdermilk
a5746c9a0e
Fix md generation for kubectl docs
...
Display usage string, not long help, as code, remove angle brackets from
output (.md interprets as tags and hides).
2015-03-11 16:42:40 -07:00
Eric Paris
781ca91a59
Use the 'example' section of cobra commands
...
This makes examples their own section in the docs, if they are defined.
2015-02-20 16:41:31 -05:00
Victor Marmol
54ef88bbf8
Merge pull request #4664 from eparis/kubectl-man
...
kubectl autogen docs update
2015-02-20 09:24:21 -08:00
Eric Paris
4806160c51
use the cobra inherrited flags instead of implementing it
2015-02-20 10:20:11 -05:00
Andy Goldstein
5bd0e9ab05
Add streaming command execution & port forwarding
...
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
Eric Paris
a6beb2e7df
Autogenerate md documentation for kubectl
...
This does away with the giant dump from cobra for kubectl and instead
generates md files which contain similar information, but one per verb.
This might work well as part of the cobra project, instead of doing it
in kube, but this gets us nice, linked, documentation right now. If
people like it, I will try to get something similar into cobra.
2015-02-12 19:08:57 -05:00
deads2k
500bb3a7fa
make kubectl factory flag binding optional
2015-01-20 18:12:24 -05:00
Jeff Lowdermlk
250c948ae7
Autogenerate markdown docs for kubectl
...
Add test to verify generated docs are up to date.
2015-01-14 13:21:14 -08:00