Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipenv run should support -h and --help #1405

Closed
nodakai opened this issue Feb 7, 2018 · 2 comments
Closed

pipenv run should support -h and --help #1405

nodakai opened this issue Feb 7, 2018 · 2 comments

Comments

@nodakai
Copy link

nodakai commented Feb 7, 2018

Describe your environment

pipenv, version 9.0.3

Expected result

Pipenv should print a help text explaining how to use the pipenv run sub-command. This should be done regardless of whether pipenv run accepts a complex family of options which is worth a help text or not, in order to make it consistent with other Pipenv sub-commands which all accepts -h / --help.

Actual result
$ pipenv run -h
Creating a virtualenv for this project…
⠋Using base prefix '/usr'
New python executable in /home/ec2-user/.local/share/virtualenvs/a-EouiYCWm/bin/python3
Also creating executable in /home/ec2-user/.local/share/virtualenvs/a-EouiYCWm/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/ec2-user/.local/share/virtualenvs/a-EouiYCWm
Creating a Pipfile for this project…
Error: the command -h could not be found within PATH.
Steps to replicate

See above

@jrbourbeau
Copy link

It looks like pipenv run --help was disabled in #940. Although, there wasn't a specific reason given for disabling it.

I agree with @nodakai that it's a little strange the other pipenv commands (e.g. open, lock, shell, etc.) have a help message displayed with --help / -h, but the run command doesn't.

@kennethreitz
Copy link
Contributor

run passes everything to what you're trying to run...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants