Projects / optcomplete

optcomplete

optcomplete is a Python module that provides programmable shell completion support for Python scripts that use the optparse module. It implements the Bash completion protocol, and a simple common shell function invokes the script to provide the completion suggestions. As an optparse parser already contains most of the useful information to provide completions, only two lines of code are required to provide basic support for completions to an existing script. It also allows the developer to provide per-option completion, etc.

Tags
Licenses
Implementation

Recent releases

  •  29 Jan 2004 18:23

    Release Notes: The license was changed from GNU GPL to BSD.

    •  29 Jan 2004 07:50

      No changes have been submitted for this release.

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.