getOptionRange

Function to get values as array by flag.

string[]
getOptionRange
(
string[] args
,
string flag
,
string altFlag = ""
)

Parameters

args string[]

Command line arguments.

flag string

Parameter with "--".

altFlag string

Synonym for the flat. By default, empty.

Return Value

Type: string[]

array of values after the flag.

Meta