MutuallyExclusiveOptions
Functions
Link copied to clipboard
fun <T> copy(transformAll: MutuallyExclusiveOptionsTransform<OptT, T>): MutuallyExclusiveOptions<OptT, T>
Link copied to clipboard
If none of the options in a mutuallyExclusiveOptions group are given on the command line, us value for the group.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called after all of a command's parameters have been finalized to perform validation of the final values.
Link copied to clipboard
open operator override fun provideDelegate(thisRef: BaseCliktCommand<*>, property: KProperty<*>): ReadOnlyProperty<BaseCliktCommand<*>, OutT>
Implementations must call BaseCliktCommand<*>.registerOptionGroup
Link copied to clipboard
Make a mutuallyExclusiveOptions group required. If none of the options in the group are given, a UsageError is thrown.
Link copied to clipboard
If more than one of the group's options are given on the command line, throw a MutuallyExclusiveGroupException