Skip to content

Install shell completions#90

Merged
nathanjcochran merged 5 commits into
mainfrom
nathan/install-completions
Oct 29, 2025
Merged

Install shell completions#90
nathanjcochran merged 5 commits into
mainfrom
nathan/install-completions

Conversation

@nathanjcochran
Copy link
Copy Markdown
Member

Wires up the .goreleaser.yaml file to generate shell completions, include them in the archive, and automatically install them via the Homebrew cask and Linux packages. I would have liked to wire up the installation script to automatically install the completions too, but I think it would require sudo, and we intentionally avoid asking for sudo when installing via the installation script.

The approach follows well-documented patterns I saw elsewhere, such as in this blog post and in the GoReleaser project itself (which also happens to use cobra under the hood): https://github.com/goreleaser/goreleaser

Closes AGE-184

@nathanjcochran nathanjcochran self-assigned this Oct 27, 2025
@nathanjcochran nathanjcochran merged commit c274e8e into main Oct 29, 2025
2 checks passed
@nathanjcochran nathanjcochran deleted the nathan/install-completions branch October 29, 2025 17:23
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