Option Delegate
An option that functions as a property delegate
Functions
Link copied to clipboard
abstract fun finalize(context: Context, invocations: List<OptionParser.Invocation>)
Content copied to clipboard
Called after this command's argv is parsed to transform and store the option's value.
Link copied to clipboard
Link copied to clipboard
open fun parameterHelp(context: Context): HelpFormatter.ParameterHelp.Option?
Content copied to clipboard
Information about this option for the help output.
Link copied to clipboard
Called after all of a command's parameters have been finalized to perform validation of the final value.
Link copied to clipboard
abstract operator fun provideDelegate(thisRef: ParameterHolder, prop: KProperty<*>): <ERROR CLASS><ParameterHolder, T>
Content copied to clipboard
Implementations must call ParameterHolder.registerOption
Properties
Link copied to clipboard
Link copied to clipboard
Optional explicit key to use when looking this option up from a ValueSource