Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFlags ¶
AddFlags runs all registered SetupCLI plugin functions in order to register CLI flags for the specified root command.
func BeforeCommand ¶
BeforeCommand runs all registered BeforeRun plugin functions just before the selected command runs; it terminates as soon as the first plugin function returns a non-nil error and then itself returns this non-nil error.
func FixArgs ¶
func FixArgs()
FixArgs works around Wiresharks extcap CLI flag passing idiosyncrasies of especially passing bool flags in some situations as "--foo true" as opposed to either "--foo" or "--foo=true". We therefore simply tack on any "true"s and "false"s that immediately follow any "--flag" to the preceding flag.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package action implements the handling of Wireshark's extcap CLI action flag.
|
Package action implements the handling of Wireshark's extcap CLI action flag. |
Package all ensures to pull in the required packages for (obscure) CLI args as well as the set of extcap implementations
|
Package all ensures to pull in the required packages for (obscure) CLI args as well as the set of extcap implementations |
Package cliplugin defines the plugin group types for setting up the extcap plugin CLI args in a modular way.
|
Package cliplugin defines the plugin group types for setting up the extcap plugin CLI args in a modular way. |
Package debug implements the “--debug” and “--debug-file” CLI args.
|
Package debug implements the “--debug” and “--debug-file” CLI args. |