AppArgs

com.geirolz.app.toolkit.AppArgs
See theAppArgs companion object
final case class AppArgs(value: List[String]) extends AnyVal

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def at[V : ArgDecoder](idx: Int): Either[ArgDecodingError, V]
def atOrThrow[V : ArgDecoder](idx: Int): V
def exists(p: AppArgs => Boolean, pN: AppArgs => Boolean*): Boolean
def getStringVar(name: String, separator: String): Either[ArgDecodingError, String]
def getVar[V : ArgDecoder](name: String, separator: String): Either[ArgDecodingError, V]
def getVarOrThrow[V : ArgDecoder](name: String, separator: String): V
def hasFlags(flag1: String, flagN: String*): Boolean
def hasNotFlags(flag1: String, flagN: String*): Boolean
def hasNotVar(name: String, separator: String): Boolean
def hasVar(name: String, separator: String): Boolean
def isDefinedAt(idx: Int): Boolean
def isEmpty: Boolean
def stringAt(idx: Int): Either[ArgDecodingError, String]
def stringAtOrThrow(idx: Int): String
def toList[V : ArgDecoder]: List[String]
def toMap(separator: String): Map[String, String]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def toTuples(separator: String): List[(String, String)]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product