clikt / com.github.ajalt.clikt.parameters.options / OptionDelegate / provideDelegate

provideDelegate

abstract operator fun provideDelegate(thisRef: CliktCommand, prop: KProperty<*>): ReadOnlyProperty<CliktCommand, T>

Implementations must call CliktCommand.registerOption