Skip to content

supercode upgrade command — built-in self-update #91

Description

@yashdev9274

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrepo coreIssues related to the supercode core repository infrastructuresupercode-cliIssues related to the supercode CLI application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions