Merge pull request #200 from JonathanBouligny/feature_netclient_version_command

added --version command to netclient
This commit is contained in:
Alex 2021-07-19 08:20:01 -04:00 committed by GitHub
commit 025575b166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,21 @@
package main
import (
"errors"
"os/exec"
"strconv"
"github.com/urfave/cli/v2"
"os"
"github.com/gravitl/netmaker/netclient/command"
"github.com/gravitl/netmaker/netclient/config"
"log"
"errors"
"github.com/gravitl/netmaker/netclient/command"
"github.com/gravitl/netmaker/netclient/config"
"github.com/urfave/cli/v2"
"log"
"os"
"os/exec"
"strconv"
)
func main() {
app := cli.NewApp()
app.Name = "Netclient CLI"
app.Usage = "Netmaker's netclient agent and CLI. Used to perform interactions with Netmaker server and set local WireGuard config."
app.Version = "v0.5.11"
cliFlags := []cli.Flag{
&cli.StringFlag{