Thanks for this. This neat little cli is really useful, but I would like to propose some minor design changes.
- When returning results, only return the top 1 selected command
- Instead of directly running the command itself, only return the string and let the user decide if they want to edit and how they want to run it.