yashdev9274 / yashdev9274/supercli

supercode upgrade command — built-in self-update

Open
#91 0 comments 0 reactions 0 assignees View on GitHub

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 upgrade command 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
  • Version check on startup (configurable, opt-in) with a notification banner
  • supercode --version prints current version

Why

Essential for CLI UX — users should never have to manually check for updates.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.