clikt / com.github.ajalt.clikt.parameters.arguments / Argument / finalize


abstract fun finalize(context: Context, values: List<String>): Unit

Called after this command’s argv is parsed to transform and store the argument’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

values - A possibly empty list of values provided to this argument.