github / gh-copilot

Ask for assistance right in your terminal.

Home Page:https://docs.github.com/en/copilot/github-copilot-in-the-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEAT]: `ghcs` should allow for interactive target selection

williammartin opened this issue · comments

Describe the need

I used to run gh copilot suggest and would be presented with an interactive option to choose my target (gh/git/shell). Now I use the ghcs alias and it defaults to the shell target. This can be modified with -t to set another but I don't want to provide this at invocation time, and would prefer to select interactively.

Version

➜  ~ gh copilot version
gh-copilot version 1.0.1 (2024-03-22)

Relevant terminal output

➜  ~ ghcs

Welcome to GitHub Copilot in the CLI!
version 1.0.1 (2024-03-22)

I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency

? What would you like the shell command to do?
>

CC: @Ali-thepro

@williammartin thanks for the feedback!

I've added this to our board for internal discussion and we'll keep this issue updated along the way.