yashdev9274 / yashdev9274/supercli
supercode upgrade command — built-in self-update
Open
Nobody has claimed this yet.
enhancement
repo core
supercode-cli
- Dominant language
- TypeScript
- Stars
- 214
- Forks
- 41
- Avg merge
- 2h 26m
- Merged PRs (30d)
- 34
Description
Description
Add a supercode upgrade command that checks the npm registry for the latest version and upgrades itself.
Expected Deliverables
supercode upgradecommand that:- Checks the current version from
package.json - Fetches the latest version from
https://registry.npmjs.org/supercode-cli/latest - Compares versions and prints a message if up-to-date
- If outdated, runs the install script or prompts
npm install -g supercode-cli
- Checks the current version from
- Version check on startup (configurable, opt-in) with a notification banner
supercode --versionprints current version
Why
Essential for CLI UX — users should never have to manually check for updates.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with package.json and the CLI's command-registration and startup entry points. Check how the current version is exposed and how commands invoke npm or installation scripts, then review the npm registry endpoint in the issue. Done means upgrade, version output, opt-in startup checks, and the notification behavior work without prompting when already up to date.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100