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).
This commit is contained in:
Kevin F. Konrad 2021-10-31 13:10:11 +01:00 committed by GitHub
parent 8ab05a4036
commit 788692f1e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ Completions
^^^^^^^^^^^ ^^^^^^^^^^^
- Added completions for: - Added completions for:
- ``istioctl`` (:issue:`8343`)
- ``black`` (:issue:`8123`) - ``black`` (:issue:`8123`)
- ``exif`` (:issue:`8246`) - ``exif`` (:issue:`8246`)
- ``gping`` (:issue:`8181`) - ``gping`` (:issue:`8181`)

View File

@ -0,0 +1 @@
istioctl completion fish | source