DOKK / manpages / debian 12 / python3-argcomplete / register-python-argcomplete.1.en
REGISTER-PYTHON-ARGCOMPLETE(1) User Commands REGISTER-PYTHON-ARGCOMPLETE(1)

register-python-argcomplete - register-python-argcomplete - argcomplete utility script

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`

executable to completed (when invoked by exactly this name)

show this help message and exit
When no matches are generated, do not fallback to readline's default completion
arguments to call complete with; use of this option discards default options
output code for the specified shell

argcomplete module was written by Andrey Kislyuk

Full documentation for argccomplete module is stored at https://argcomplete.readthedocs.org/en/latest/

January 2017 register-python-argcomplete 1.8.1