Scoop API

scoop:scoop.cli:0.1.0

CliFieldParser

class CliFieldParser

source · line 4
public
public class CliFieldParser<T> public constructor(
    private val fieldShape: CliValueShape, private val convert: (CliFieldValues) -> T
) : CliValueParser<T>

A field parser with an explicit token shape and conversion function.