Skip to content

Command line Arguments

Nat Pryce edited this page Jan 17, 2016 · 2 revisions

The parseArgs function parses configuration properties from command-line options.

It takes the array of command-line arguments, a varargs list of CommandLineOption values that map property keys to option flags used on the command-line, and optional parameters to generate useful help text. It returns a pair of a parsed Configuration and a list of the arguments that are not part of a command-line option.

Clone this wiki locally