If you run pipx run pypi-command-line, you get a choice of what to do. If you select Run 'pypi-command-line --help', it fails because the path is not set up to run pypi (and pypi-command-line isn't a script, but that's not the problem). Instead, it should trigger the help directly, rather than running an expensive and fragile subprocess.
To Reproduce
Steps to reproduce the behavior:
pipx run pypi-command-line (or run this any method without putting pypi on the path)
Press enter
Expected behavior
It shouldn't fail.
Additional context
pipx run --spec pypi-command-line pypi fails too, giving Run 'pypi --help' but it's still not on the path.
Describe the bug
If you run
pipx run pypi-command-line
, you get a choice of what to do. If you selectRun 'pypi-command-line --help'
, it fails because the path is not set up to runpypi
(andpypi-command-line
isn't a script, but that's not the problem). Instead, it should trigger the help directly, rather than running an expensive and fragile subprocess.To Reproduce Steps to reproduce the behavior:
pipx run pypi-command-line
(or run this any method without puttingpypi
on the path)Expected behavior It shouldn't fail.
Additional context
pipx run --spec pypi-command-line pypi
fails too, givingRun 'pypi --help'
but it's still not on the path.