Description
Description
When using tab completion with pip config -[TAB]
, it suggests general pip options like --cache-dir, --cert, etc., as shown below:
(miniforge3-24.11.0-1) werner@x13dai-t:~$ pip config -
--cache-dir= --global --no-cache-dir= --require-venv --user
--cert= -h --no-color --require-virtualenv -v
--client-cert= --help --no-input --retries= -V
--debug --isolated --no-python-version-warning --site --verbose
--default-timeout= --keyring-provider= --proxy= --timeout= --version
--disable-pip-version-check --local-log= --python= --trusted-host=
--editor= --log= -q --use-deprecated=
--exists-action= --log-file= --quiet --use-feature=
However, pip config
requires an action (debug, edit, get, list, set, unset) first and these suggestions are not given.
Expected behavior
Tab completion should show valid actions (debug, edit, get, list, set, unset) or their relevant options.
pip version
(miniforge3-24.11.0-1) werner@x13dai-t:~$ pip --version pip 24.3.1 from /home/werner/.pyenv/versions/miniforge3-24.11.0-1/lib/python3.12/site-packages/pip (python 3.12)
Python version
(miniforge3-24.11.0-1) werner@x13dai-t:~$ python --version
Python 3.12.8
OS
(miniforge3-24.11.0-1) werner@x13dai-t:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
How to Reproduce
See above.
Output
See above.
Code of Conduct
- I agree to follow the PSF Code of Conduct.