PS> click-pwsh
A click extension to support shell completion for PowerShell 7.
This extension is written based on click 8.x (i.e., the rewritten click's completion system). Be aware of your click version before using it.
Hope it can provide smooth experiences for Windows users. d(`・∀・)b
Installation
You can get the package from PyPI:
PS> pip install click-pwsh
Quickstart
Add the following code at the top of your script:
from click_pwsh import support_pwsh_shell_completion
support_pwsh_shell_completion()
And run the following command to install the shell completion:
PS> python -m click_pwsh install foo-bar
Complete.
where foo-bar is your command name.
Then ... all done. Re-open PowerShell 7 and enjoy the shell completion!
Update Shell Completion Scripts
If you upgrade click-pwsh, you can use the following command to update your shell completion scripts:
PS> python -m click_pwsh update foo-bar
Complete.
where foo-bar is your command name whose shell completion scripts have already installed before.
Metadata
Release files for click-pwsh 0.9.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| click_pwsh-0.9.7.tar.gz | 4.1 kB | Without provenance | Details for click_pwsh-0.9.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| click_pwsh-0.9.7-py3-none-any.whl | Python 3 | none | any | Details for click_pwsh-0.9.7-py3-none-any.whl |
Total release size: 9.6 kB
Release files / click_pwsh-0.9.7.tar.gz
| Download URL | click_pwsh-0.9.7.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27dfb99b4114f3580b40c8e24dca313c2fc29c33f15b0948bf8018a6a7f8e1f6
|
|
BLAKE2b-256 checksum How to use checksums |
b1e1b1edde4e54718d508aa36bbef52d40a833138c74c3237bf028222d5eb0b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Release files / click_pwsh-0.9.7-py3-none-any.whl
| Download URL | click_pwsh-0.9.7-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa83917e4e643e2b267b31ee1bb877c11cddbf347a1d362b39f6d3db99a96639
|
|
BLAKE2b-256 checksum How to use checksums |
333c9fa125106a75fab47567d2f58fa26b055f0188095df6c298f48cc3563f3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Security for click-pwsh 0.9.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.