interface Argument
A positional parameter to a command.
Arguments can take any number of values.
abstract val help: String
The description of this argument. |
|
abstract val name: String
The metavar for this argument. |
|
abstract val nvalues: Int
The number of values that this argument takes. |
|
abstract val parameterHelp: Argument?
Information about this argument for the help output. |
|
abstract val required: Boolean
If true, an error will be thrown if this argument is not given on the command line. |
abstract fun finalize(context: Context, values: List<String>): Unit
Called after this command's argv is parsed to transform and store the argument's value. |
interface ArgumentDelegate<out T> : Argument, ReadOnlyProperty<CliktCommand, T>
An argument that functions as a property delegate |
|
class ArgumentTransformContext : Argument
A receiver for argument transformers. |