pros-cli
pros-cli copied to clipboard
✨ Setup Autocomplete
Summary:
- Adds a command to setup autocomplete for bash, zsh, fish, pwsh, and powershell
- Adds a custom PowerShell script to register an argument completer
Example:
pros setup-autocomplete bash
Motivation:
Since we upgraded to click 8 in #307 it is possible to use click's shell completion feature. This will allow users to quickly select commands in the supported shells.
References (optional):
Closes #138
Test Plan:
- [x] bash (Ubuntu WSL)
- [x] zsh (Ubuntu WSL)
- [x] fish (Ubuntu WSL)
- [x] pwsh (Ubuntu WSL)
- [x] bash (Windows)
- [ ] zsh (Windows)
- Autocomplete doesn't work
- [x] pwsh (Windows)
- [x] powershell (Windows)
- [ ] bash (macOS)
- [ ] zsh (macOS)
- [ ] fish (macOS)
- [ ] pwsh (macOS)