Skip to content

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


abstract 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.


context - The context for this parse

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