mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-18 22:55:15 +08:00
reworked usage/description for netclient and added verbosity flags
This commit is contained in:
@@ -17,13 +17,14 @@ var version = "dev"
|
||||
|
||||
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.Name = "Netclient"
|
||||
app.Version = version
|
||||
ncutils.SetVersion(version)
|
||||
|
||||
cliFlags := cli_options.GetFlags(ncutils.GetHostname())
|
||||
app.Commands = cli_options.GetCommands(cliFlags[:])
|
||||
app.Description = "Used to perform interactions with Netmaker server and set local WireGuard config."
|
||||
app.Usage = "Netmaker's netclient agent and CLI."
|
||||
app.UsageText = "netclient [global options] command [command options] [arguments...]. Adjust verbosity of given command with -V, -VV or -VVV (max)."
|
||||
|
||||
setGarbageCollection()
|
||||
|
||||
|
Reference in New Issue
Block a user