netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.64k stars 474 forks source link

Include completion file in Linux packages #607

Open proletarius101 opened 1 year ago

proletarius101 commented 1 year ago

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:

mlsmaycon commented 1 year ago

Thanks for the suggestion @proletarius101, we will include it when updating the cobra package version in the next releases.