netbird icon indicating copy to clipboard operation
netbird copied to clipboard

Respect env for debug and routes sub commands

Open lixmal opened this issue 1 year ago • 3 comments

Describe your changes

Issue ticket number and link

Updates #2013

Checklist

  • [x] Is it a bug fix
  • [ ] Is a typo/documentation fix
  • [ ] Is a feature enhancement
  • [ ] It is a refactor
  • [ ] Created tests that fail without the change (if possible)
  • [ ] Extended the README / documentation, if necessary

lixmal avatar May 21 '24 14:05 lixmal

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)

lixmal avatar May 27 '24 12:05 lixmal

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

nazarewk avatar May 28 '24 09:05 nazarewk