cli icon indicating copy to clipboard operation
cli copied to clipboard

Lando CLI does not report an error when using a command that does not exist

Open hardyoyo opened this issue 3 years ago • 1 comments

For any lando project, if you try to run a command that does not exist, lando exits without any error. Some users might misinterpret this as a successful command.

You can duplicate this by running anything like:

lando this-command-does-not-exist

or maybe

lando poweroof

A colleague of mine has been running lando reload and was quite pleased with the speed of the command, but confused by the fact that their app never did reflect any changes. They really needed to run lando restart. Full "did you mean" coverage would be lovely, but... at least a "command not found" error message would be helpful.

hardyoyo avatar Feb 18 '22 19:02 hardyoyo

When we rebase on OCLIF i think we will get this out of the box although not 100% sure given lando's CLI is dynamic based on the app

pirog avatar Feb 18 '22 19:02 pirog