Map

zio.cli.Command.Map
final case class Map[A, B](command: Command[A], f: A => B) extends Command[B]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Command[B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def pipeline: (String, List[Parameter])
override def wrapped: Command[A]

Attributes

Definition Classes
Wrap

Inherited methods

final def as[B](b: => B): Command[B]

Attributes

Inherited from:
Command
final def map[B](f: B => B): Command[B]

Attributes

Inherited from:
Command
final def orElse[A1 >: B](that: Command[A1]): Command[A1]

Attributes

Inherited from:
Command
final def orElseEither[B](that: Command[B]): Command[Either[B, B]]

Attributes

Inherited from:
Command

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def subcommands[B](c1: Command[B], c2: Command[B], cs: Command[B]*)(implicit ev: Reducable[B, B]): Command[ev.Out]

Attributes

Inherited from:
Command
final def subcommands[B](that: Command[B])(implicit ev: Reducable[B, B]): Command[ev.Out]

Attributes

Inherited from:
Command
final def withHelp(help: HelpDoc): Command[B]

Attributes

Inherited from:
Command
final def withHelp(help: String): Command[B]

Attributes

Inherited from:
Command
final def |[A1 >: B](that: Command[A1]): Command[A1]

Attributes

Inherited from:
Command

Concrete fields

lazy val helpDoc: HelpDoc
lazy val names: Set[String]
lazy override val shortDesc: String

Inherited fields

lazy val tag: String

Attributes

Inherited from:
Command