Arguments

object Arguments extends Extract
Companion:
class
trait Product
trait Mirror
trait Extract
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply(arguments: String*): Arguments
Returns:

new arguments from command-line arguments

def hasFlags(s: String, flagList: Option[String]): Boolean
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

Inherited methods

def bool(name: String, negatedName: String)(implicit args: Seq[String], sp: SystemProperties): Option[Boolean]
Inherited from:
Extract
def bool(name: String)(implicit args: Seq[String], sp: SystemProperties): Option[Boolean]
Inherited from:
Extract
def boolSystemProperty(name: String)(implicit sp: SystemProperties): Option[Boolean]
Inherited from:
Extract
def boolValue(name: String, negate: Boolean)(implicit args: Seq[String], sp: SystemProperties): Option[Boolean]
Inherited from:
Extract
def double(name: String)(implicit args: Seq[String], sp: SystemProperties): Option[Double]
Inherited from:
Extract
def float(name: String)(implicit args: Seq[String], sp: SystemProperties): Option[Float]
Inherited from:
Extract
def instance[T <: AnyRef](name: String)(implicit m: ClassTag[T]): Option[T]
Inherited from:
Extract
def int(name: String)(implicit args: Seq[String], sp: SystemProperties): Option[Int]
Inherited from:
Extract
def long(name: String)(implicit args: Seq[String], sp: SystemProperties): Option[Long]
Inherited from:
Extract
def value[T](name: String)(implicit args: Seq[String], sp: SystemProperties): Option[String]
Inherited from:
Extract
def value[T](name: String, f: String => T)(implicit args: Seq[String], sp: SystemProperties): Option[T]
Inherited from:
Extract
def valueSystemProperty[T](name: String, f: String => T)(implicit sp: SystemProperties): Option[T]
Inherited from:
Extract

Implicits

Implicits

implicit def ArgumentsMonoid: Monoid[Arguments]