pipenv
pipenv copied to clipboard
Documentation for PIPENV_YES
Issue description
I was running some automation and one process had the pipenv install to call pyenv and install a version of python for me. During that install I was prompted if I was fine with installing the new python version. I wanted to skip that prompt and auto approve. I looked through documentation/help and it took me 2h to dig the code to find this line: https://github.com/pypa/pipenv/blob/main/pipenv/core.py#L408
And understand that I simply needed to do:
export PIPENV_YES=1
For my result to work
Expected result
pipenv install --help provides information on the expected env variable config Searching for "auto approve", "yes", "PIPENV_YES" on https://pipenv-fork.readthedocs.io/en/latest/advanced.html returns something documentation about PIPENV_YES
Actual result
No documentation about it that I can reasonably find
Hi - I want to second this request. I came here today specifically to request and it seems it has already been done! A switch for --force-install-python or something would also be a good idea IMO if we want to make the process more readable for others.
Just wanted to call out that pipenv-fork is not the actual documentation, which is hosted at: https://pipenv.pypa.io/en/latest/
@Fran-Rg I found https://pipenv.pypa.io/en/latest/advanced/#pipenv.environments.Setting.PIPENV_YES
PIPENV_YES If set, Pipenv automatically assumes “yes” at all prompts. Default is to prompt the user for an answer if the current command line session if interactive.
Can you close?