ArgumentsExt.preRun

Setup, parse, validate and process command line args (Application hook).

This function does all the extension processing invoking all the extension hooks. It also adds the --help option, which when present, shows the help and exits the program.

If argument parsing or validation fails (including extensions validation), it also prints an error message and exits. Note that if argument parsing fails, validation is not performed.

class ArgumentsExt
override
void
preRun

Parameters

app IApplication

the application instance

cl_args istring[]

command line arguments

Meta