Command

sbt.Command
See theCommand companion object
sealed trait Command

An operation that can be executed from the sbt console.

The operation takes a State as a parameter and returns a State. This means that a command can look at or modify other sbt settings, for example. Typically you would resort to a command when you need to do something that's impossible in a regular task.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def help: State => Help
def parser: State => Parser[() => State]
def tag[T](key: AttributeKey[T], value: T): Command
def tags: AttributeMap

Concrete methods

def nameOption: Option[String]