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 command to run as part of a CLI app.

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
trait CmdApp extends Cmd with IOApp

A trait for your single-command CLI to extend.

A trait for your single-command CLI to extend.

Attributes

Source:
CmdApp.scala
Graph
Supertypes
trait IOApp
trait Cmd
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 MultiCmdApp extends IOApp

A trait for your multi-command CLI to extend.

A trait for your multi-command CLI to extend.

Attributes

Source:
MultiCmdApp.scala
Graph
Supertypes
trait IOApp
class Object
trait Matchable
class Any
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