works.scala.cmd

Members list

Concise view

Type members

Classlikes

trait Arg[A]

Arg are positional arguments passed to the command, and can be parsed to type A

Arg are positional arguments passed to the command, and can be parsed to type A

Attributes

Source:
Arg.scala
Graph
Supertypes
class Object
trait Matchable
class Any
trait BooleanFlag extends UnitFlag

Attributes

Source:
Flag.scala
Graph
Supertypes
trait UnitFlag
trait Flag[Unit]
class Object
trait Matchable
class Any
Known subtypes
object HelpFlag.type
trait Cmd

A trait to extend for your CLI app

A trait to extend for your CLI app

Attributes

Source:
Cmd.scala
Graph
Supertypes
class Object
trait Matchable
class Any
trait Flag[F]

Flags are non-positional arguments passed to the app. Flags can be generally used as either an argument flag, which expects an argument parsed as type F, or boolean flags which do not.

Flags are non-positional arguments passed to the app. Flags can be generally used as either an argument flag, which expects an argument parsed as type F, or boolean flags which do not.

Attributes

F

The type expected to parse the flag argument as.

Companion:
object
Source:
Flag.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait UnitFlag
object HelpFlag.type
object Flag

Attributes

Companion:
trait
Source:
Flag.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Flag.type
case object HelpFlag extends BooleanFlag

A default Help flag, automatically provided to apps.

A default Help flag, automatically provided to apps.

Attributes

Source:
Flag.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait UnitFlag
trait Flag[Unit]
class Object
trait Matchable
class Any
Self type
trait UnitFlag extends Flag[Unit]

A helper trait that defaults parseArgument to a Unit value.

A helper trait that defaults parseArgument to a Unit value.

Attributes

Source:
Flag.scala
Graph
Supertypes
trait Flag[Unit]
class Object
trait Matchable
class Any
Known subtypes
object HelpFlag.type