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], Int, Int, 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], Int, Int, Option[String]) ⇒ Either[Error, T]) extends ArgParser[T] with Product with Serializable
- final case class FlagArgParser[T](description: String, parse: (Option[String], Int, Int) ⇒ Either[Error, T]) extends ArgParser[T] with Product with Serializable
-
final
case class
Last[T](value: T) extends Product with Serializable
Allows an argument to be specified multiple times.
Allows an argument to be specified multiple times.
Discards previously specified values.
- See also
- final case class LastArgParser[T](parser: ArgParser[T]) extends ArgParser[Last[T]] with Product with Serializable
- final class MapErrorArgParser[T, U] extends ArgParser[U]
- abstract class PlatformArgParsers extends AnyRef
- final case class SimpleArgParser[T](description: String, parse: (String, Int, Int) ⇒ 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 LastArgParser extends Serializable
- object SimpleArgParser extends Serializable