[GH-ISSUE #607] Include completion file in Linux packages #953

Open
opened 2026-08-05 00:40:32 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @proletarius101 on GitHub (Dec 4, 2022).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/607

Originally assigned to: @mlsmaycon on GitHub.

Is your feature request related to a problem? Please describe.
It is inconvenient and ineffective that the completion file needs to be manually placed by the users. So far, netbird only exposes a completion file generator provided by cobra at netbird completion [zsh].

Describe the solution you'd like
During the packaging process, generate a completion file, such that the completions are loaded as soon as the package is installed into the OS. Examples:

Originally created by @proletarius101 on GitHub (Dec 4, 2022). Original GitHub issue: https://github.com/netbirdio/netbird/issues/607 Originally assigned to: @mlsmaycon on GitHub. **Is your feature request related to a problem? Please describe.** It is inconvenient and ineffective that the completion file needs to be manually placed by the users. So far, netbird only exposes a completion file generator provided by `cobra` at `netbird completion [zsh]`. **Describe the solution you'd like** During the packaging process, generate a completion file, such that the completions are loaded as soon as the package is installed into the OS. Examples: - https://github.com/goreleaser/goreleaser/blob/main/scripts/completions.sh - https://github.com/goreleaser/goreleaser/blob/5c15e5a6ef4079e98a8ddafc71a5606fe236db82/.goreleaser.yaml#L7 - https://carlosbecker.com/posts/golang-completions-cobra/
saavagebueno added the enhancementfeature-requestclientgood first issue labels 2026-08-05 00:40:32 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#953