mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-15 23:06:38 +00:00
Updated windows installer package generation with launch UI after install remove older version remove wiretrustee added install and uninstall scripts Updated brew cask: run installer script to start daemon Daemon conflicts with wiretrustee on brew Removed migrate check on non-root commands like status CLI CMD is now going to stdout
18 lines
324 B
Go
18 lines
324 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/netbirdio/netbird/client/system"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var (
|
|
versionCmd = &cobra.Command{
|
|
Use: "version",
|
|
Short: "prints Netbird version",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
cmd.SetOut(cmd.OutOrStdout())
|
|
cmd.Println(system.WiretrusteeVersion())
|
|
},
|
|
}
|
|
)
|