Interface GlobalOptions

Global options for all commands.

Hierarchy

  • GlobalOptions

Indexable

[index: string]: boolean | string | undefined

Properties

-0?: true

Shortcut for -family link.

Remarks

Specifies the protocol family to use.

-4?: true

Shortcut for -family inet.

Remarks

Specifies the protocol family to use.

-6?: true

Shortcut for -family inet6.

Remarks

Specifies the protocol family to use.

-B?: true

Shortcut for -family bridge.

Remarks

Specifies the protocol family to use.

-M?: true

Shortcut for -family mpls.

Remarks

Specifies the protocol family to use.

dryRun?: boolean

If 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.

filePath?: string

Required for certain commands that need a file path to create a file or consume it.

stdin?: string

Required for certain commands that need stdin input.

sudo?: boolean

When provided, will prepend the command with sudo, which effectively instructs the OS to execute the command with elevated privileges.

Generated using TypeDoc