From 788692f1e52422f580aab25ae31355418ede668e Mon Sep 17 00:00:00 2001 From: "Kevin F. Konrad" Date: Sun, 31 Oct 2021 13:10:11 +0100 Subject: [PATCH] add istioctl completions (#8343) This program uses the Cobra framework for argument parsing and completion generation. Just source the completions supplied by upstream. This works around "go install" not being able to install completions files (only binaries). --- CHANGELOG.rst | 1 + share/completions/istioctl.fish | 1 + 2 files changed, 2 insertions(+) create mode 100644 share/completions/istioctl.fish diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3ca433c32..ed97e32ce 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -99,6 +99,7 @@ Completions ^^^^^^^^^^^ - Added completions for: + - ``istioctl`` (:issue:`8343`) - ``black`` (:issue:`8123`) - ``exif`` (:issue:`8246`) - ``gping`` (:issue:`8181`) diff --git a/share/completions/istioctl.fish b/share/completions/istioctl.fish new file mode 100644 index 000000000..8d8a78c5a --- /dev/null +++ b/share/completions/istioctl.fish @@ -0,0 +1 @@ +istioctl completion fish | source