click-complete-fig-1.1.1
توضیحات
Autogenerate Completions for CLI tools built with click
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | click-complete-fig-1.1.1 |
| نام | click-complete-fig |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Fig |
| ایمیل نویسنده | hello@fig.io |
| آدرس صفحه اصلی | https://github.com/withfig/autocomplete-tools |
| آدرس اینترنتی | https://pypi.org/project/click-complete-fig/ |
| مجوز | MIT |
## Autogenerate Completions for CLI tools built with `click`
Add the integration to your CLI tool:
```bash
pip install click_complete_fig
```
Add new subcommand to your CLI tool.
- You must pass in the root level CLI.
- The `add_completion_spec_command` function will add a new `generate-fig-spec` to the passed in `cli`
```python
from click_complete_fig import fig
@click.group()
def cli():
pass
fig.add_completion_spec_command(cli)
```
You can now automatically generate the completion spec skeleton by running the following command:
```bash
$CLI generate-fig-spec > $CLI.ts
```
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl click-complete-fig-1.1.1:
pip install click-complete-fig-1.1.1.whl
نصب پکیج tar.gz click-complete-fig-1.1.1:
pip install click-complete-fig-1.1.1.tar.gz