Skip to content

Commit

Permalink
docs: document shell completion feature (#1509)
Browse files Browse the repository at this point in the history
Signed-off-by: Kostis Kapelonis <[email protected]>
  • Loading branch information
kostis-codefresh authored Sep 20, 2021
1 parent 915c91a commit bab546d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ Test to ensure the version you installed is up-to-date:
kubectl argo rollouts version
```

## Shell auto completion

The CLI can export shell completion code for several shells.

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`.

The completion command supports bash, zsh, fish and powershell.

See the [completion command documentation](./generated/kubectl-argo-rollouts/kubectl-argo-rollouts_completion.md) for more details.


## Using the CLI with Docker

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)
Expand Down

0 comments on commit bab546d

Please sign in to comment.