mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 09:32:32 +08:00
add cli parameter
This commit is contained in:
parent
de8c4d782d
commit
242fcacae0
1 changed files with 6 additions and 0 deletions
|
@ -118,6 +118,12 @@ func GetFlags(hostname string) []cli.Flag {
|
|||
Value: "",
|
||||
Usage: "Address + API Port (e.g. 1.2.3.4:8081) of Netmaker server.",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "grpcssl",
|
||||
EnvVars: []string{"NETCLIENT_GRPCSSL"},
|
||||
Value: "",
|
||||
Usage: "Tells clients to use SSL to connect to GRPC if 'on'. Disable if 'off'. Off by default.",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "key",
|
||||
Aliases: []string{"k"},
|
||||
|
|
Loading…
Reference in a new issue