StandardArgument

caseapp.core.parser.StandardArgument
See theStandardArgument companion object
case class StandardArgument[H](arg: Arg, argParser: ArgParser[H], default: () => Option[H]) extends Argument[H]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Argument[H]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def get(d: Option[H], nameFormatter: Formatter[Name]): Either[Error, H]
def init: Option[H]
def step(args: List[String], index: Int, d: Option[H], nameFormatter: Formatter[Name]): Either[(Error, List[String]), Option[(Option[H], List[String])]]
def withArg(arg: Arg): StandardArgument[H]
Implicitly added by StandardArgumentWithOps
def withDefaultOrigin(origin: String): Argument[H]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val args: Seq[Arg]