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

Misleading CLI error message: 'The command "env" does not exist.' #320

Open
1 task done
blthayer opened this issue Mar 21, 2023 · 1 comment
Open
1 task done

Misleading CLI error message: 'The command "env" does not exist.' #320

blthayer opened this issue Mar 21, 2023 · 1 comment
Milestone

Comments

@blthayer
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

I fat-fingered a command and got a slightly misleading error message:

$ poetry --version
Poetry (version 1.4.1)
$ poetry env lsit

The command "env" does not exist.

Did you mean one of these?
    env use
    env info
    env list
    env remove

Seems like the error message should say something along the lines "lsit" is not a valid subcommand for "env" rather than boldly claiming that the "env" command does not exist 😉 But the suggestions are good and relevant!

Thanks for poetry - it has dramatically improved our project organization and workflows at Utilidata.

@finswimmer finswimmer transferred this issue from python-poetry/poetry May 11, 2023
@Secrus Secrus added this to the Future milestone Jul 7, 2023
@nik-sm
Copy link

nik-sm commented Jun 17, 2024

I have an issue that seems closely related. I cannot figure out how to display documentation on command line for subcommands. For example, I'd like to do poetry help env or poetry help env info etc - but these just give an error: The command "env" does not exist.

Using poetry version 1.8.3

@Secrus Secrus modified the milestones: Future, 3.0 Nov 28, 2024
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