parse

fun <T : Arguments> T.parse(argv: Array<String>): T

Parses argv into this instance and returns it, without printing or exiting.

Throws

if --help or -h is present.

if --version is present and a version is configured.

if the input is invalid.