feat: Shell completion
Open
type/feature
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
### Support shell completion?
click has support for completion [documented here](https://click.palletsprojects.com/en/8.1.x/shell-completion/)
Is there any reason we shouldn't support it?
### Proposal
Was thinking something along the lines of adding the allowing the following in ~/.zshrc, or ~/.bashrc
```sh
source <(sam completion)
```
Where we would detect if the completion is for `zsh` or `bash`, and error if the shell is unsupported.
Contributor guide
Assessment
This issue has not been assessed yet.