BasicCommands

sbt.BasicCommands
object BasicCommands

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def addAlias(s: State, name: String, value: String): State

Adds additional *.sbt to the plugin build. This must be combined with early command as: --addPluginSbtFile=/tmp/extra.sbt

Adds additional *.sbt to the plugin build. This must be combined with early command as: --addPluginSbtFile=/tmp/extra.sbt

Attributes

def alias: Command
def aliasBody(name: String, value: String)(state: State): Parser[() => State]
def aliasNames(s: State): Seq[String]
def aliases(s: State, pred: (String, String) => Boolean): Seq[(String, String)]
def allAliases(s: State): Seq[(String, String)]
def call: Command
def callParser: Parser[(Seq[String], Seq[String])]
def clientParser: Parser[Seq[String]]
def combinedLax(s: State, any: Parser[_]): Parser[String]
def delegateToAlias(name: String, orElse: Parser[() => State])(state: State): Parser[() => State]
def doRead(s: State)(arg: Either[Int, Seq[File]]): State
def early: Command
def exit: Command
def getAlias(c: Command): Option[(String, String)]
def help: Command
def helpParser(s: State): Parser[() => State]
def historyParser(s: State): Parser[() => State]
def isAliasNamed(name: String, c: Command): Boolean
def isNamed(name: String, alias: Option[(String, String)]): Boolean
def multiApplied(state: State): Parser[() => State]
def multiParser(s: State): Parser[List[String]]
def newAlias(name: String, value: String): Command
def nop: Command
def printAlias(s: State, name: String): Unit
def printAliases(s: State): Unit
def printAliases(as: Seq[(String, String)]): Unit
def read: Command
def readParser(s: State): Parser[Either[Int, Seq[File]]]
def removeAlias(s: State, name: String): State
def removeTagged(s: State, tag: AttributeKey[_]): State
def removeTagged(as: Seq[Command], tag: AttributeKey[_]): Seq[Command]
def runAlias(s: State, args: Option[(String, Option[Option[String]])]): State
def runClient(s0: State, inputArg: Seq[String]): State
def runCompletions(state: State)(input: String): State
def runHelp(s: State, h: Help)(arg: Option[String]): State

Deprecated methods

def completionsParser(state: State): Parser[String]

Attributes

Deprecated
true

Attributes

Deprecated
true
def rebootParser(s: State): Parser[Boolean]

Attributes

Deprecated
true

Concrete fields

val CommandAliasKey: AttributeKey[(String, String)]
lazy val allBasicCommands: Seq[Command]
val multi: Command
lazy val otherCommandParser: State => Parser[String]