Click Completion Installer
Helps setting up click-completion when a pip package with click is installed. Supports
- bash
- fish (currently not implemented)
- zsh (currently not implemented)
Using in your setup.py (setuptools)
- append as requirement to your setup.py
REQUIRED = [ 'click', 'inquirer', 'arrow', 'pathlib', 'click-completion-helper', 'click-default-group' ]
...
class InstallCommand(install):
def run(self):
install.run(self)
self.setup_click_autocompletion()
def setup_click_autocompletion(self):
for console_script in setup_cfg['options']['entry_points']['console_scripts']:
console_call = console_script.split("=")[0].strip()
# if click completion helper is fresh installed and not available now
subprocess.run([
"click-completion-helper",
"setup",
console_call,
])
setup(
...
setup_requires=['click-completion-helper', ...],
...
)
or in setup.cfg:
[options]
setup_requires =
click-completion-helper
Metadata
Release files for click-completion-helper 0.0.10
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-completion-helper-0.0.10.tar.gz | 4.9 kB | Without provenance | Details for click-completion-helper-0.0.10.tar.gz |
Release files / click-completion-helper-0.0.10.tar.gz
| Download URL | click-completion-helper-0.0.10.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2cd9a6c76dbd4ca2d84c8dd5b6197534683b652aa1850d08edc4c366bf7a6d4
|
|
BLAKE2b-256 checksum How to use checksums |
c3680546d7b7081cc773b2a66b5b81d68e949955a14fc7051293bb0bfba55bb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7
|
Security for click-completion-helper 0.0.10
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.