negatable
fun NonNullableOptionBuilder<Boolean>.negatable(prefix: String? = null): NonNullableOptionBuilder<Boolean>(source)
Makes a non-nullable boolean option negatable with custom prefix.
Makes this nullable boolean option negatable with a custom prefix. Creates an automatic negation option (e.g., --disable-colors for --colors with prefix "disable-").
Parameters
prefix
The prefix to use for negation (default uses the Arguments class default "no-")
Makes this non-nullable boolean option negatable with a custom prefix. Creates an automatic negation option (e.g., --disable-colors for --colors with prefix "disable-").
Parameters
prefix
The prefix to use for negation (default uses the Arguments class default "no-")