Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommonFlags []cli.Flag = []cli.Flag{ &cli.StringFlag{ Name: "config", Usage: "Specify a path to a edgevpn config file", EnvVars: []string{"EDGEVPNCONFIG"}, }, &cli.BoolFlag{ Name: "g", Usage: "Generates a new configuration and prints it on screen", }, &cli.StringFlag{ Name: "lang", Value: "english", Usage: "language for the greeting", EnvVars: []string{"LEGACY_COMPAT_LANG", "APP_LANG", "LANG"}, Required: true, }, &cli.IntFlag{ Name: "port", Usage: "Use a randomized port", Value: 0, DefaultText: "random", Required: true, Action: func(ctx *cli.Context, v int) error { if v >= 65536 { return fmt.Errorf("Flag port value %v out of range[0-65535]", v) } return nil }, }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.