clikt / com.github.ajalt.clikt.parameters.options / CallsTransformer

CallsTransformer

typealias CallsTransformer<EachT, AllT> = OptionTransformContext.(List<EachT>) -> AllT

A callback that transforms all of the calls to the final option type.

The input list will have a size equal to the number of times the option appears on the command line.