cleo icon indicating copy to clipboard operation
cleo copied to clipboard

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

Open blthayer opened this issue 1 year ago • 1 comments

  • [x] 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 :wink: But the suggestions are good and relevant!

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

blthayer avatar Mar 21 '23 23:03 blthayer