kubectx: remove options

This commit is contained in:
FX Coudert 2018-12-23 13:42:50 +01:00
parent de8c4c1ad7
commit f01c536c55

View file

@ -7,13 +7,10 @@ class Kubectx < Formula
bottle :unneeded
option "with-short-names", "link as \"kctx\" and \"kns\" instead"
depends_on "kubernetes-cli" => :recommended
depends_on "kubernetes-cli"
def install
bin.install "kubectx" => build.with?("short-names") ? "kctx" : "kubectx"
bin.install "kubens" => build.with?("short-names") ? "kns" : "kubens"
bin.install "kubectx", "kubens"
bash_completion.install "completion/kubectx.bash" => "kubectx"
bash_completion.install "completion/kubens.bash" => "kubens"