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

[FEAT]: Select type of command via args #17

Open
darinkishore opened this issue Nov 13, 2023 · 2 comments
Open

[FEAT]: Select type of command via args #17

darinkishore opened this issue Nov 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@darinkishore
Copy link

Describe the need

Being able to set the flag --shell would be useful to quickly call on copilot cli without going through another menu. i have the copilot cli set to alias "q" and another enter is not fun.

Great utility, by the way. Super useful, very streamlined, have loved it so far.

@darinkishore darinkishore added enhancement New feature or request needs-triage needs to be reviewed labels Nov 13, 2023
@pixelastic
Copy link

pixelastic commented Nov 14, 2023

It seem that you can do gh copilot suggest -t shell to specify the type. This is mentioned by gh copilot suggest --help

I haven't found a way to tell it to automatically explain or copy to clipboard though.

@andyfeller
Copy link
Contributor

@darinkishore : thank you for opening this issue as well as the kind words!! ❤ 🙇 🤗

As @pixelastic has mentioned, the -t,--target shell|gh|git flag is available for creating terminal aliases of gh alias short cuts. This is a topic of conversation within #5 to support terminal aliasing.

As far as short circuiting the suggest-revise loop with actions like copy to clipboard, I think that's a topic in #2 along with additional functionality. When originally designing the extension, there are times where the models can hallucinate or require additional information to get the most accurate suggestion, so short circuiting too early is not always the best experience.

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

No branches or pull requests

3 participants