Skip to main content

Bash completion utility for python scripts

Project description

Bash completion utility for python scripts

Installation

Install with pip, then install bash completion config:

$ pip install pybashcomplete

Or for the latest, run from the project root directory:

$ python setup.py install

To install the bash completion script into /etc/bash_completion.d/pybashcomplete, you will need to run the install script with sudo or root:

$ sudo pybashcomplete-install

After install, you will have to source the file manually:

$ . /etc/bash_completion.d/pybashcomplete

Usage

Simply run a python script and use tab completion:

$ python test.py --deb[TAB]
$ python test.py --debug

$ python test.py --d[TAB][TAB]
--debug --demo
$ python test.py --d

Release Notes

0.0.3:

Made installation script for bash completion script

0.0.2:

Fixed a few initial bugs

0.0.1:

Project created

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybashcomplete-0.0.4.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file pybashcomplete-0.0.4.tar.gz.

File metadata

File hashes

Hashes for pybashcomplete-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8ac830517b57a0733334f16c6e463599f7b0bf2cce4d91f66daf89e6a3fd5a86
MD5 5bd81d4927550bb543fda2ce226e210e
BLAKE2b-256 bf39517daef50a81fbcfa15d7f681c5b29e7ffb5f843173292b90dbeabb68266

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page