Get's the value for the CLI param at process.argv[argvIndex] and throws the specified optional errorMessage
or a default error message if the CLI arg is missing.
Notes on common index position values:
0: NodeJS path
1: Script path
2: First script param - for swig this will be the task name
Get's the value for the CLI param at process.argv[
argvIndex] and throws the specified optionalerrorMessageor a default error message if the CLI arg is missing.Notes on common index position values:
0: NodeJS path1: Script path2: First script param - forswigthis will be the task name