Cmd

works.scala.cmd.Cmd
trait Cmd

A command to run as part of a CLI app.

Attributes

Source:
Cmd.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CmdApp

Members list

Concise view

Value members

Abstract methods

def command(args: List[String]): Unit

The main logic of your app

The main logic of your app

Attributes

Source:
Cmd.scala

Concrete methods

def args: Seq[Arg[_]]

The Args to parse for this app.

The Args to parse for this app.

Attributes

Source:
Cmd.scala
def flags: Seq[Flag[_]]

The Flags to parse for this app.

The Flags to parse for this app.

Attributes

Source:
Cmd.scala
final def io(args: List[String]): IO[ExitCode]

Attributes

Source:
Cmd.scala

Abstract fields

val description: String

A short description of what this command does.

A short description of what this command does.

Attributes

Source:
Cmd.scala
val name: String

The name of the command. Used to run if part of a MultiCmdApp

The name of the command. Used to run if part of a MultiCmdApp

Attributes

Source:
Cmd.scala