Command

case class Command(title: String, command: String, arguments: Opt[Vector[Value]])

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

Value parameters:
arguments

Arguments that the command handler should be invoked with.

command

The identifier of the actual command handler.

title

Title of the command, like save.

Companion:
object
Source:
structures.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product