CommandLineUtils

org.encalmo.utils.CommandLineUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def execute(command: String, cwd: Path, showOutput: Boolean): Either[Iterable[String], Iterable[String]]
def executeCommandArray(commandArray: Array[String], cwd: Path, showOutput: Boolean): Either[Iterable[String], Iterable[String]]
inline def optionalScriptFlag(shortName: Char, longName: String)(args: Array[String]): Boolean
inline def optionalScriptFlag(longName: String)(args: Array[String]): Boolean
def optionalScriptParameter(shortName: Char, longName: String)(args: Array[String]): Option[String]
def requiredScriptParameter(shortName: Char, longName: String)(args: Array[String]): String

Extensions

Extensions

extension [L, R](e: Either[L, R])
def exitOfFailure: R