CLIs suggest corrections for typos. Using the standard library's difflib, implement:
suggest(word, options, n=3, cutoff=0.6): up to n close matches, best first (case-insensitive, but return the options' original spelling)unknown_command_message(cmd, commands): returns "Unknown command 'x'.", followed by Did you mean 'y'? with the single best match, or Did you mean one of: 'a', 'b'? when there are two or three matches, and nothing extra when there are none