OptionInvocation

data class OptionInvocation(val name: String, val values: List<String>)

The output of parsing a single option and its values.

Constructors

Link copied to clipboard
constructor(name: String, values: List<String>)

Properties

Link copied to clipboard

The name that was used to invoke the option. May be empty if the value was not retrieved from the command line (e.g. values from environment variables).

Link copied to clipboard

The values provided to the option. This will always have a size in the range of Option.nvalues for the option that was invoked.