flag
fun flag(name: String, description: String, required: Boolean = true): Lazy<CompilerOption.Singular<Boolean>>(source)
A boolean flag parameter with no default. Required by default. The argument values are true or false (using toBooleanLenient). If it cannot be converted to a boolean, it is ignored.
fun flag(name: String, defaultValue: Boolean, description: String): Lazy<CompilerOption.SingularWithDefault<Boolean>>(source)
An optional boolean flag parameter with a default. The argument values are true or false (using toBooleanLenient). If it cannot be converted to a boolean, the default is used.