Method to create an Args object from a variable number of Arg parameters.
Method to create an Args object from a variable number of Arg parameters.
NOTE: this is normally used only for testing.
the command line arguments.
the arguments parsed as an Args[String].
Method to create an Args[String] from the command line arguments in a main program (or a sub-class of App).
Method to create an Args[String] from the command line arguments in a main program (or a sub-class of App).
NOTE that we use get here on a Try. We might throw an exception, therefore.
a Seq[String].
an Args[String]
Exception
the result of invoking parse.
Method to parse a set of command line arguments that conform to the POSIX standard.
Method to parse a set of command line arguments that conform to the POSIX standard.
the command line arguments.
the (optional) syntax template which will be used, if not None, to validate the options.
the arguments parsed as an Args[String], wrapped in Try.
Method to parse a set of command line arguments that don't necessarily conform to the POSIX standard, and which cannot be validated.
Method to parse a set of command line arguments that don't necessarily conform to the POSIX standard, and which cannot be validated.
the command line arguments.
the arguments parsed as an Args[String], wrapped in Try.