Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

This module provide automatic bash completion support for programs that use the optparse module. The premise is that the optparse options parser specifies enough information (and more) for us to be able to generate completion strings esily. Another advantage of this over traditional completion schemes where the completion strings are hard-coded in a separate bash source file, is that the same code that parses the options is used to generate the completions, so the completions is always up-to-date with the program itself.

In addition, we allow you specify a list of regular expressions or code that define what kinds of files should be proposed as completions to this file if needed. If you want to implement more complex behaviour, you can instead specify a function, which will be called with the current directory as an argument.

You need to activate bash completion using the shell script function that comes with optcomplete (see http://furius.ca/optcomplete for more details).

Metadata

Release files for optcomplete 1.2-devel

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

Source distribution (sdist)

Source distribution for optcomplete 1.2-devel
File Size Uploaded
optcomplete-1.2-devel.tar.gz 37.6 kB Details

Release files / optcomplete-1.2-devel.tar.gz

Download URL optcomplete-1.2-devel.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a3244b2bedc61e1d2c356137638ce559427258d38a89e3eb1bdf5c3f5d64b82d
BLAKE2b-256 checksum
How to use checksums
479394b1ae1bce12c54bd4823d2d6e020c806cdab582683ff0d7782cb54e5a1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.2.1

1.2

This release

1.2-devel This release

1 release file

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