register-python-argcomplete3(1)

register-python-argcomplete31

Register-python-argcomplete - argcomplete utility script

Overview

usage: register-python-argcomplete [-h] [--no-defaults]

[--complete-arguments ...] [-s {bash,tcsh}]

executable

Register a Python executable for use with the argcomplete module.

To perform the registration, source the output of this script in your bash shell (quote the output to avoid interpolation).

Example:

$ eval "$(register-python-argcomplete my-favorite-script.py)"

For Tcsh

$ eval `register-python-argcomplete --shell tcsh my-favorite-script.py`

positional arguments:

executable

executable to completed (when invoked by exactly this name)

optional arguments:

-h, --help

show this help message and exit

--no-defaults

When no matches are generated, do not fallback to readline's default completion

--complete-arguments ...

arguments to call complete with; use of this option discards default options

-s {bash,tcsh}, --shell {bash,tcsh}

output code for the specified shell

Releases

Unchanged in 3 releases since Debian 9 (Stretch).

  1. 9–11

Authors

argcomplete module was written by Andrey Kislyuk

From python3-argcomplete 1.8.1-1.5 in Debian 11 (Bullseye). Parsed by carta from the page's man source.