Arguments

org.specs2.main.Arguments
See theArguments companion class
object Arguments extends Extract

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any
Show all
Self type
Arguments.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(arguments: String*): Arguments

Attributes

Returns

new arguments from command-line arguments

def hasFlags(s: String, flagList: Option[String]): Boolean

Attributes

Returns

true if the flagList is empty or if it has

def split(arguments: String): Arguments

create Arguments from a string by splitting it on spaces

create Arguments from a string by splitting it on spaces

Attributes

Inherited methods

def bool(name: String, negatedName: String)(using args: Seq[String], sp: SystemProperties): Option[Boolean]

Attributes

Inherited from:
Extract
def bool(name: String)(using args: Seq[String], sp: SystemProperties): Option[Boolean]

Attributes

Inherited from:
Extract
def boolSystemProperty(name: String)(using sp: SystemProperties): Option[Boolean]

Attributes

Inherited from:
Extract
def boolValue(name: String, negate: Boolean)(using args: Seq[String], sp: SystemProperties): Option[Boolean]

Attributes

Inherited from:
Extract
def double(name: String)(using args: Seq[String], sp: SystemProperties): Option[Double]

Attributes

Inherited from:
Extract
def float(name: String)(using args: Seq[String], sp: SystemProperties): Option[Float]

Attributes

Inherited from:
Extract
def instance[T <: AnyRef](name: String)(using m: ClassTag[T]): Option[T]

Attributes

Inherited from:
Extract
def int(name: String)(using args: Seq[String], sp: SystemProperties): Option[Int]

Attributes

Inherited from:
Extract
def long(name: String)(using args: Seq[String], sp: SystemProperties): Option[Long]

Attributes

Inherited from:
Extract
def value[T](name: String)(using args: Seq[String], sp: SystemProperties): Option[String]

Attributes

Inherited from:
Extract
def value[T](name: String, f: String => T)(using args: Seq[String], sp: SystemProperties): Option[T]

Attributes

Inherited from:
Extract
def valueSystemProperty[T](name: String, f: String => T)(using sp: SystemProperties): Option[T]

Attributes

Inherited from:
Extract

Implicits

Implicits

implicit def ArgumentsMonoid: Monoid[Arguments]