mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 00:43:58 +08:00
make proxy optional
This commit is contained in:
@@ -12,6 +12,13 @@ func GetFlags(hostname string) []cli.Flag {
|
||||
Value: "all",
|
||||
Usage: "Network to perform specified action against.",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "proxy",
|
||||
// Aliases: []string{"np"},
|
||||
EnvVars: []string{"NETMAKER_PROXY"},
|
||||
Value: "off",
|
||||
Usage: "To enable/disable proxy.",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "password",
|
||||
Aliases: []string{"p"},
|
||||
|
Reference in New Issue
Block a user