Leftover

mainargs.TokensReader.Leftover
trait Leftover[T, V] extends ShortNamed[T]

A TokensReader for parsing the left-over parameters that do not belong to any other flag or parameter.

Attributes

Graph
Supertypes
trait ShortNamed[T]
trait Terminal[T]
trait TokensReader[T]
class Object
trait Matchable
class Any
Show all
Known subtypes
class LeftoverRead[T]

Members list

Value members

Abstract methods

def read(strs: Seq[String]): Either[String, T]
def shortName: String

The label that shows up in the CLI help message, e.g. the bar in --foo <bar>

The label that shows up in the CLI help message, e.g. the bar in --foo <bar>

Attributes

Concrete methods

override def isLeftover: Boolean

Attributes

Definition Classes

Inherited methods

def isClass: Boolean

Attributes

Inherited from:
TokensReader
def isConstant: Boolean

Attributes

Inherited from:
TokensReader
def isFlag: Boolean

Attributes

Inherited from:
TokensReader
def isSimple: Boolean

Attributes

Inherited from:
TokensReader