Skip to content
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

[Feature Request] Only return the top 1 result but do not run it, let the user decide how to edit and run it #59

Open
matmult opened this issue May 16, 2024 · 1 comment

Comments

@matmult
Copy link

matmult commented May 16, 2024

Thanks for this. This neat little cli is really useful, but I would like to propose some minor design changes.

  1. When returning results, only return the top 1 selected command
  2. 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.
@ShishirPatil
Copy link
Member

Hey @matmult thank you so much for the feedback! Although not part of the pypi build, I tried to do something like this here. Where basically the CLI gets pre-filled, but not executed. Is this along the lines you were suggesting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants