clikt / com.github.ajalt.clikt.parsers / OptionWithValuesParser

OptionWithValuesParser

object OptionWithValuesParser : OptionParser

An option that takes one more values

Functions

parseLongOpt

fun parseLongOpt(option: Option, name: String, argv: List<String>, index: Int, explicitValue: String?): ParseResult

Parse a single long option and its value.

parseShortOpt

fun parseShortOpt(option: Option, name: String, argv: List<String>, index: Int, optionIndex: Int): ParseResult

Parse a single short option and its value.