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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pybashcomplete-0.0.4.tar.gz (5.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page