Skip to content

Add self-update and version commands to CLI#69

Merged
EdinTC merged 1 commit into
masterfrom
feature/add-self-update-command
Jun 30, 2026
Merged

Add self-update and version commands to CLI#69
EdinTC merged 1 commit into
masterfrom
feature/add-self-update-command

Conversation

@EdinTC

@EdinTC EdinTC commented Jun 30, 2026

Copy link
Copy Markdown
Member

No description provided.

@EdinTC
EdinTC requested a review from JKetelaar as a code owner June 30, 2026 15:32
Comment thread README.md
Install (or update) with the Go toolchain:

```bash
go install github.com/intercube/cli/cmd/intercube@latest

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can simplify this, but looks good anyhow

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually the minimal form. go install <path>@latest names the binary after the last path segment, so ../cmd/intercube is what gives us the intercube binary. Dropping cmd/intercube (github.com/intercube/cli@latest) would install a binary named cli instead and require moving main.go to the repo root. cmd/<binary>/main.go is the conventional go layout so I would keep it as is

@EdinTC
EdinTC merged commit 022bb5f into master Jun 30, 2026
@EdinTC
EdinTC deleted the feature/add-self-update-command branch June 30, 2026 16:59
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