Skip to content

feat: add update as alias for upgrade command#523

Merged
d42me merged 1 commit intomainfrom
feat/update-alias-for-upgrade
Apr 16, 2026
Merged

feat: add update as alias for upgrade command#523
d42me merged 1 commit intomainfrom
feat/update-alias-for-upgrade

Conversation

@mikasenghaas
Copy link
Copy Markdown
Member

@mikasenghaas mikasenghaas commented Apr 16, 2026

Summary

  • Adds prime update as a hidden alias for prime upgrade so both work interchangeably
  • The alias is hidden from help output to keep the CLI clean, but still works and suggests the canonical command

Test plan

  • Run prime update and verify it behaves identically to prime upgrade
  • Run prime -h and verify update does not appear in the help output

🤖 Generated with Claude Code


Note

Low Risk
Single-line CLI routing change that reuses existing upgrade logic; minimal behavioral risk beyond command-name collisions.

Overview
Adds a hidden update subcommand alias wired to the existing upgrade Typer app, so prime update behaves identically to prime upgrade without appearing in prime -h output.

Reviewed by Cursor Bugbot for commit e9259f1. Bugbot is set up for automated code reviews on this repo. Configure here.

`prime update` now works as an alias for `prime upgrade`, since users
naturally reach for "update" as a synonym.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@d42me d42me merged commit 7508091 into main Apr 16, 2026
12 checks passed
@d42me d42me deleted the feat/update-alias-for-upgrade branch April 16, 2026 22:41
@d42me d42me mentioned this pull request Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants