ParameterParser

Type class for parsing a command line argument to type T

class Object
trait Matchable
class Any

Value members

Abstract methods

def example: T

An example of the parsed value, used by the usage graph generator to simulate the execution of the parser.

An example of the parsed value, used by the usage graph generator to simulate the execution of the parser.

It is never used as a result of the parser when it is executed on real input.

def parse(value: String): Either[String, T]

Parse the command line argument into type T or fail with an error message

Parse the command line argument into type T or fail with an error message

Value parameters:
value

command line argument

Returns:

Either failure or the parsed value