Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bring back the GitHub Copilot in the CLI commands to not break workflows #53

@EDM115

Description

@EDM115

Describe the feature or problem you'd like to solve

The Copilot in the CLI has been a regular part of my workflow, always useful for getting very quickly a command on the fly or explaining one. Bringing it back here would be a massive W.

Proposed solution

You could add the old features through either a command (/suggest, /explain), or directly with flags. The further behavior (copy/execute/refine) should be ideally kept.

Example prompts or workflows

Here are some prompts I did use :

copilot --suggest "in powershell, how  to reload the profile ?"
copilot --suggest "pwsh 7, windows, from the current directory and going recursively, list all folders containing files ending in '.fxp', echo the full path"
copilot --suggest "pwsh 7, recursively list all file extensions"
copilot --explain "ls -Ahosp --color=always --group-directories-first"

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions