-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
No info on typo in command #1098
Comments
Indeed, we tried to enable the I appreciate the well-written issue, and support any PR to improve this experience. A "did you mean?" error output would be super cool, but even a "default" command that indicates you done goofed and outputs the existing help would be an improvement. |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Some context: I've just upgraded NodeJS, Npm, and Lerna, so I was expecting all sorts of trouble.
I've just spent the last 20 minutes the silliest way. I tried to do a clean
lerna bootstrap --scope package-name
in my repo and when I ran the command, nothing happened. (Nothing whatsoever, it just immediately returned.) After looking at various things and some googling, I discovered that I just made a typo in the command and wrotelerna boostrap --scope package-name
.Expected Behavior
I'd be nice to be told that no valid command was passed to
lerna
when that happens.Current Behavior
Immediate return with no output.
Possible Solution
It'd be helpful for
lerna
to emit some sort of basic command list (like other apps) when no valid command is passed to it.Your Environment
lerna --version
npm --version
yarn --version
node --version
The text was updated successfully, but these errors were encountered: