Skip to main content

Autogenerate Completions for CLI tools built with click

Add the integration to your CLI tool:

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
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:

$CLI generate-fig-spec > $CLI.ts

Release files for click-complete-fig 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for click-complete-fig 1.1.1
File Size Uploaded
click_complete_fig-1.1.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for click-complete-fig 1.1.1
File Interpreter ABI Platform
click_complete_fig-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / click_complete_fig-1.1.1.tar.gz

Download URL click_complete_fig-1.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
33e8ad2ab624b3b12d7d0aa9d87ad74e6853d98900bcf6f8a523a3df1d97963b
BLAKE2b-256 checksum
How to use checksums
50e2b760a01b3134c335b606ec7c6996bc8bcabdcf6d6337f8fd90fbb13194c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.13

Release files / click_complete_fig-1.1.1-py3-none-any.whl

Download URL click_complete_fig-1.1.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b57f736393c327915422d1aa4bb12040a71e7545fb5bf9445d2c9b9a7a363a6d
BLAKE2b-256 checksum
How to use checksums
872259a07ea4db50b079d07e500de4b1a0f5a2c81ead2c7557177ae2a8881bf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page