clikt / com.github.ajalt.clikt.output / HelpFormatter / ParameterHelp / Argument

Argument

data class Argument : ParameterHelp

Parameters

name - The name / metavar for this argument

help - The arguments's description

required - True if this argument must be specified

repeatable - True if this argument takes an unlimited number of values

Constructors

<init>

Argument(name: String, help: String, required: Boolean, repeatable: Boolean)

Properties

help

val help: String

The arguments's description

name

val name: String

The name / metavar for this argument

repeatable

val repeatable: Boolean

True if this argument takes an unlimited number of values

required

val required: Boolean

True if this argument must be specified