Optional
-0Shortcut for -family link
.
Specifies the protocol family to use.
Optional
-4Shortcut for -family inet
.
Specifies the protocol family to use.
Optional
-6Shortcut for -family inet6
.
Specifies the protocol family to use.
Optional
-BShortcut for -family bridge
.
Specifies the protocol family to use.
Optional
-MShortcut for -family mpls
.
Specifies the protocol family to use.
Optional
dryIf set, the command won't be executed, just the command line will be built. Useful for debugging since the command will return a Command class, which provides access to Command.cmdToExec for debugging.
Optional
fileRequired for certain commands that need a file path to create a file or consume it.
Optional
stdinRequired for certain commands that need stdin
input.
Optional
sudoWhen provided, will prepend the command with sudo
, which effectively instructs
the OS to execute the command with elevated privileges.
Generated using TypeDoc
Global options for all commands.