Show suggestions when typos happen

Wouldn’t be nice to have suggestions when typos happen?

For example, Firefox with the “x” missing, the output shows:

sudo snap install firefo
error: snap "firefo" not found

One idea:

sudo snap install firefo
Did you mean Firefox? (y/n)

And you just hit Enter.

AIUI that’s what we’re aiming for with the snap advise-snap command (when not given --command). It’s getting there! :slight_smile:

3 Likes