Commit Graph

2 Commits

Author SHA1 Message Date
Eric Paris
a160c0f06b bash completions for kubectl
Support pre command flags:
--api-version=
-a, --auth-path=
--certificate-authority=
--client-certificate=
--client-key=
--insecure-skip-tls-verify=
--match-server-version=
-s, --server=

And commands:
get
describe
create
update
delete

Tries to be smart about things like

kubectl get -o template  requires a template file

It also tries to accept both sigular and plural versions of all
resources.  Even though it will only complete to the plural version.
2014-10-21 12:54:43 -04:00
Tim Hockin
af3983464c move completions from misc to contrib 2014-10-07 22:20:32 -07:00