OptionListBuilder
class OptionListBuilder<T : Any> : PropertyDelegateProvider<Arguments, ReadOnlyProperty<Arguments, List<T>>>
A repeatable option, reached via OptionBuilder.multiple. Resolves to an empty list when the option never appears, unless required is set.
Type Parameters
T
the element type.
Functions
Link copied to clipboard
open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, List<T>>
Link copied to clipboard
Requires at least one occurrence of the option.