The location of the option(s) within command line.

Hierarchy

  • ZOptionLocation

Properties

args: readonly string[]

Command line arguments containing target option(s).

endIndex?: number

An index of command line arguments up to which the command line contains option(s).

Default

Next to index. I.e. index + 1.

endOffset?: number

The end offset of relevant characters within the last command line argument.

Default

The length of the last command line argument. I.e. args[endIndex - 1].length.

index: number

An index of the first command line argument containing the option.

offset?: number

An offset of relevant characters within the first command line argument.

Default

First character. I.e. 0.

Generated using TypeDoc