package argparser
Things related to parsing a single argument.
Mostly revolves around caseapp.core.argparser.ArgParser.
- Alphabetic
- By Inheritance
- argparser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class AccumulatorArgParser [T](description: String, parse: (Option[T], String) ⇒ Either[Error, T]) extends ArgParser[T] with Product with Serializable
-
abstract
class
ArgParser
[T] extends AnyRef
Parses argument values of type
T
. - final case class Consumed (value: Boolean) extends AnyVal with Product with Serializable
- final case class FlagAccumulatorArgParser [T](description: String, parse: (Option[T], Option[String]) ⇒ Either[Error, T]) extends ArgParser[T] with Product with Serializable
- final case class FlagArgParser [T](description: String, parse: (Option[String]) ⇒ Either[Error, T]) extends ArgParser[T] with Product with Serializable
-
final
case class
Last
[T](value: T) extends AnyVal with Product with Serializable
Allows an argument to be specified multiple times.
Allows an argument to be specified multiple times.
Discards previously specified values.
- final case class LastArgParser [T](parser: ArgParser[T]) extends ArgParser[Last[T]] with Product with Serializable
- abstract class PlatformArgParsers extends AnyRef
- final case class SimpleArgParser [T](description: String, parse: (String) ⇒ Either[Error, T]) extends ArgParser[T] with Product with Serializable
Value Members
- object AccumulatorArgParser extends Serializable
- object ArgParser extends PlatformArgParsers
- object FlagAccumulatorArgParser extends Serializable
- object FlagArgParser extends Serializable
- object PlatformArgParsers
- object SimpleArgParser extends Serializable