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.04k stars 441 forks source link

Respect env for debug and routes sub commands #2026

Closed lixmal closed 1 month ago

lixmal commented 2 months ago

Describe your changes

Issue ticket number and link

Updates #2013

Checklist

lixmal commented 1 month ago

Please add the change to the netbird status command too.

That should already be the case:

func statusFunc(cmd *cobra.Command, args []string) error {
    SetFlagsFromEnvVars(rootCmd)
nazarewk commented 1 month ago

FYI: works flawlessly with https://github.com/nazarewk-iac/nix-configs/commit/a8515636cee65382a1bc02756bca82ebd1864ad9

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud