Skip to content

feat: add an update command for self updating#847

Open
mcncl wants to merge 1 commit into
mainfrom
feat/update_command
Open

feat: add an update command for self updating#847
mcncl wants to merge 1 commit into
mainfrom
feat/update_command

Conversation

@mcncl
Copy link
Copy Markdown
Contributor

@mcncl mcncl commented Jun 2, 2026

Description

Adds a command so that users can run bk update to update to the latest version, when the binary is used, or updates message for updating via brew or mise

Changes

  • introduces an update command for use via bk update
    • outputs message for updatign when brew or mise used instead
  • adds an internal update package which determines if self updating can be used
  • adds testing

Testing

  • Tests have run locally (with go test ./...)
  • Code is formatted (with go fmt ./...)

Disclosures / Credits

Used Codex locally to review the changes and provide feedback on use of idiomatic Go.

@mcncl mcncl requested review from a team as code owners June 2, 2026 00:27
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.

1 participant