Commit Graph

1 Commits (b6956506fa2682afa93770a58ea8c7ba4b4caec1)

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