Command line option input.

This is constructed from raw command line arguments by options syntax.

Hierarchy

  • ZOptionInput

Properties

key?: string

A key of option readers to recognize te option.

Default

[name]
name: string

Option name.

I.e. a command line argument to process.

retry?: boolean

Whether to retry the option processing.

When an input with this flag set is encountered, current option processing terminates and restarts for another one.

tail?: readonly string[]

Array of command line arguments following the option [name] and its [values].

values?: readonly string[]

Array of option values.

I.e. command line arguments immediately following the option [name].

Default

Empty array.

Generated using TypeDoc