ParseResult

case class ParseResult(result: List[(CliOption, String, Either[(String, List[String]), List[String]])], failedArgumentsCount: Int, excessArguments: List[String]) extends Ordered[ParseResult]

Contains error messages or matched argument lists for each option, also storing number of arguments that failed to match and excess arguments.

Contains error messages or matched argument lists for each option, also storing number of arguments that failed to match and excess arguments.

Also defines ordering for selecting best-match failure from list of failures.

trait Serializable
trait Product
trait Equals
trait Ordered[ParseResult]
trait Comparable[ParseResult]
class Object
trait Matchable
class Any

Value members

Concrete methods

def compare(other: ParseResult): Int
def isFailed: Boolean

Inherited methods

def <(that: ParseResult): Boolean
Inherited from
Ordered
def <=(that: ParseResult): Boolean
Inherited from
Ordered
def >(that: ParseResult): Boolean
Inherited from
Ordered
def >=(that: ParseResult): Boolean
Inherited from
Ordered
def compareTo(that: ParseResult): Int
Inherited from
Ordered
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

lazy val failedConverters: Int