Then

oxygen.cli.Values.Then
final case class Then[A, B, O](a: Values[A], b: Values[B], zip: Out[A, B, O]) extends Values[O]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Values[O]
trait Parser[O]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def buildInternal(usedParams: Set[SimpleName]): Either[BuildError, (Set[SimpleName], Values[O])]

This should do 2 things:

This should do 2 things:

  1. Fail if there are duplicate param names
  2. Convert Defaultable.Auto into Defaultable.Some/Defaultable.None based on start of long name

Attributes

Definition Classes
override def helpMessage: ValueMessage

Attributes

Definition Classes
override def optionalName: Option[Name]

Attributes

Definition Classes
override def parseValues(values: List[ValueLike]): ParseResult[O]

Attributes

Definition Classes

Inherited methods

final def <||[A2 >: O](that: Values[A2]): Values[A2]

Attributes

Inherited from:
Values
final def <||[A2 >: O](that: Parser[A2]): Parser[A2]

Attributes

Inherited from:
Parser
final def <||>[B](that: Values[B]): Values[Either[O, B]]

Attributes

Inherited from:
Values
final def <||>[B](that: Parser[B]): Parser[Either[O, B]]

Attributes

Inherited from:
Parser
final def ^>>[B](that: Values[B])(implicit zip: Zip[O, B]): Values[zip.Out]

Attributes

Inherited from:
Values
final def ^>>[B](that: Parser[B])(implicit zip: Zip[O, B]): Parser[zip.Out]

Attributes

Inherited from:
Parser
final def bracketed(name: LongName): Values[O]

Attributes

Inherited from:
Parser
final def build: Either[BuildError, Parser[Either[HelpType, O]]]

Attributes

Inherited from:
Parser
override def map[B](f: O => B): Values[B]

Attributes

Definition Classes
Inherited from:
Values
override def mapOrFail[B](f: O => Either[String, B]): Values[B]

Attributes

Definition Classes
Inherited from:
Values
final def optional(breakOnAnyError: Boolean): Values[Option[O]]

Attributes

Inherited from:
Values
final def optional: Values[Option[O]]

Attributes

Inherited from:
Values
final override def parse(values: List[ValueLike], params: List[ParamLike]): ParseResult[O]

Attributes

Definition Classes
Inherited from:
Values
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def repeated(breakOnAnyError: Boolean): Values[List[O]]

Attributes

Inherited from:
Values
final def repeated: Values[List[O]]

Attributes

Inherited from:
Values
final def repeatedNel(breakOnAnyError: Boolean): Values[NonEmptyList[O]]

Attributes

Inherited from:
Values
final def repeatedNel: Values[NonEmptyList[O]]

Attributes

Inherited from:
Values
final def withDefault[A2 >: O](default: A2, breakOnAnyError: Boolean): Values[A2]

Attributes

Inherited from:
Values
final def withDefault[A2 >: O](default: A2): Values[A2]

Attributes

Inherited from:
Values
final def withOptionalDefault[A2 >: O](default: Option[A2], breakOnAnyError: Boolean): Values[A2]

Attributes

Inherited from:
Values
final def withOptionalDefault[A2 >: O](default: Option[A2]): Values[A2]

Attributes

Inherited from:
Values