ParseArgsOptionConfig

sealed external interface ParseArgsOptionConfig(source)

Properties

Link copied to clipboard
abstract var default: Any?

The default option value when it is not set by args. It must be of the same type as the the type property. When multiple is true, it must be an array.

Link copied to clipboard
abstract var multiple: Boolean?

Whether this option can be provided multiple times. If true, all values will be collected in an array. If false, values for the option are last-wins.

Link copied to clipboard
abstract var short: String?

A single character alias for the option.

Link copied to clipboard

Type of argument.