Skip to content

Flag

Declares a boolean flag on a Command constructor parameter.

The parameter must be a non-nullable Boolean: presence of the flag implies true, absence false. A Kotlin = false default is fine.

Flag.kt

Properties

help

val help: String
Flag.kt

names

val names: Array<String>
Flag.kt

Released under the Apache License 2.0.