getOptionValue

Function to get a value by parameter. Used to process command line arguments.

string
getOptionValue
(
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

The value of the required parameter.

Meta