Single

zio.cli.Command.Single
final case class Single[OptionsType, ArgsType](name: String, help: HelpDoc, options: Options[OptionsType], args: Args[ArgsType]) extends Command[(OptionsType, ArgsType)]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Command[(OptionsType, ArgsType)]
class Object
trait Matchable
class Any
Show all
Self type
Single[OptionsType, ArgsType]

Members list

Value members

Concrete methods

def parse(args: List[String], conf: CliConfig): IO[ValidationError, CommandDirective[(OptionsType, ArgsType)]]
def pipeline: (String, List[Parameter])

Inherited methods

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

Attributes

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

Attributes

Inherited from:
Command
final def orElse[A1 >: (OptionsType, ArgsType)](that: Command[A1]): Command[A1]

Attributes

Inherited from:
Command
final def orElseEither[B](that: Command[B]): Command[Either[(OptionsType, ArgsType), 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[(OptionsType, ArgsType), B]): Command[ev.Out]

Attributes

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

Attributes

Inherited from:
Command
final def withHelp(help: HelpDoc): Command[(OptionsType, ArgsType)]

Attributes

Inherited from:
Command
final def withHelp(help: String): Command[(OptionsType, ArgsType)]

Attributes

Inherited from:
Command
final def |[A1 >: (OptionsType, ArgsType)](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