mgmtCmd.Flags().IntVar(&mgmtPort,"port",33073,"server port to listen on")
mgmtCmd.Flags().StringVar(&mgmtDataDir,"datadir",defaultMgmtDataDir,"server data directory location")
mgmtCmd.Flags().StringVar(&mgmtConfig,"config",defaultMgmtConfig,"Netbird config file location. Config params specified via command line (e.g. datadir) have a precedence over configuration from this file")
mgmtCmd.Flags().StringVar(&mgmtLetsencryptDomain,"letsencrypt-domain","","a domain to issue Let's Encrypt certificate for. Enables TLS using Let's Encrypt. Will fetch and renew certificate, and run the server with TLS")
mgmtCmd.Flags().StringVar(&certFile,"cert-file","","Location of your SSL certificate. Can be used when you have an existing certificate and don't want a new certificate be generated automatically. If letsencrypt-domain is specified this property has no effect")
mgmtCmd.Flags().StringVar(&certKey,"cert-key","","Location of your SSL certificate private key. Can be used when you have an existing certificate and don't want a new certificate be generated automatically. If letsencrypt-domain is specified this property has no effect")
rootCmd.PersistentFlags().StringVar(&logFile,"log-file",defaultLogFile,"sets Netbird log path. If console is specified the the log will be output to stdout")