Open 0xdevalias opened 5 months ago
@0xdevalias : not a bad idea, I like it. 🤔
Here's the specific format of the gh
'update available' text, may be cool to match it:
A new release of gh is available: 2.46.0 → 2.47.0
To upgrade, run: brew upgrade gh
https://github.com/cli/cli/releases/tag/v2.47.0
In the meantime, how do I update the copilot extension manually? I'm on Windows.
how do I update the copilot extension manually
⇒ gh extension upgrade -h
Upgrade installed extensions
USAGE
gh extension upgrade {<name> | --all} [flags]
FLAGS
--all Upgrade all extensions
--dry-run Only display upgrades
--force Force upgrade extension
INHERITED FLAGS
--help Show help for command
LEARN MORE
Use `gh <command> <subcommand> --help` for more information about a command.
Read the manual at https://cli.github.com/manual
So:
⇒ gh extension upgrade gh-copilot
[copilot]: upgraded from v1.0.1 to v1.0.2
✓ Successfully upgraded extension
Describe the need
When the extension reports that a new version is available, it would be nice if it also gave me an easily copy/pasteable command to update to that new version.
Currently it shows this:
Ideally it would show something like this so I don't have to remember how the CLI works and/or go and look at the
--help
every time:Version
Observed on
1.0.0
Relevant terminal output
See above.