Packages

p

caseapp.core

argparser

package argparser

Things related to parsing a single argument.

Mostly revolves around caseapp.core.argparser.ArgParser.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. argparser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class AccumulatorArgParser[T](description: String, parse: (Option[T], String) => Either[Error, T]) extends ArgParser[T] with Product with Serializable
  2. abstract class ArgParser[T] extends AnyRef

    Parses argument values of type T.

  3. final case class Consumed(value: Boolean) extends AnyVal with Product with Serializable
  4. final case class FlagAccumulatorArgParser[T](description: String, parse: (Option[T], Option[String]) => Either[Error, T]) extends ArgParser[T] with Product with Serializable
  5. final case class FlagArgParser[T](description: String, parse: (Option[String]) => Either[Error, T]) extends ArgParser[T] with Product with Serializable
  6. 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.

    See also

    caseapp.core.argparser.LastArgParser

  7. final case class LastArgParser[T](parser: ArgParser[T]) extends ArgParser[Last[T]] with Product with Serializable
  8. final class MapErrorArgParser[T, U] extends ArgParser[U]
  9. abstract class PlatformArgParsers extends AnyRef
  10. final case class SimpleArgParser[T](description: String, parse: (String) => Either[Error, T]) extends ArgParser[T] with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped