Skip to content

Commit bab546d

Browse files
docs: document shell completion feature (argoproj#1509)
Signed-off-by: Kostis Kapelonis <[email protected]>
1 parent 915c91a commit bab546d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/installation.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ Test to ensure the version you installed is up-to-date:
6565
kubectl argo rollouts version
6666
```
6767

68+
## Shell auto completion
69+
70+
The CLI can export shell completion code for several shells.
71+
72+
For bash, ensure you have bash completions installed and enabled. To access completions in your current shell, run $ `source <(kubectl-argo-rollouts completion bash)`. Alternatively, write it to a file and source in `.bash_profile`.
73+
74+
The completion command supports bash, zsh, fish and powershell.
75+
76+
See the [completion command documentation](./generated/kubectl-argo-rollouts/kubectl-argo-rollouts_completion.md) for more details.
77+
78+
6879
## Using the CLI with Docker
6980

7081
The CLI is also available as a container image at [https://quay.io/repository/argoproj/kubectl-argo-rollouts](https://quay.io/repository/argoproj/kubectl-argo-rollouts)

0 commit comments

Comments
 (0)