clikt / com.github.ajalt.clikt.parameters.options / EagerOption / finalize

finalize

fun finalize(context: Context, invocations: List): Unit

Called after this command’s argv is parsed to transform and store the option’s value.

You cannot refer to other parameter values during this call, since they might not have been finalized yet.

Parameters

context - The context for this parse

invocations - A possibly empty list of invocations of this option.