Cmd

works.scala.cmd.Cmd
trait Cmd

A trait to extend for your CLI app

Attributes

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

Members list

Concise view

Value members

Abstract methods

def command(args: Array[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. HelpFlag will be automatically added.

The Flags to parse for this app. HelpFlag will be automatically added.

Attributes

Source:
Cmd.scala
final def main(args: Array[String]): Unit

Attributes

Source:
Cmd.scala