StringRead
mainargs.TokensReader.StringRead
object StringRead extends Simple[String]
Attributes
- Graph
-
- Supertypes
-
trait Simple[String]trait ShortNamed[String]trait Terminal[String]trait TokensReader[String]class Objecttrait Matchableclass AnyShow all
- Self type
-
StringRead.type
Members list
Value members
Concrete methods
Converts the given input tokens to a T or an error String
. The input is a Seq
because input tokens can be passed more than once, e.g. --foo bar --foo qux
will result in read being passed ["foo", "qux"]
Converts the given input tokens to a T or an error String
. The input is a Seq
because input tokens can be passed more than once, e.g. --foo bar --foo qux
will result in read being passed ["foo", "qux"]
Attributes
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
Inherited methods
Whether this CLI param can be no passed from the CLI, even if a default value is not specified. In that case, read receives an empty Seq
Whether is CLI param is repeatable
Attributes
- Inherited from:
- TokensReader
Attributes
- Inherited from:
- TokensReader
Attributes
- Inherited from:
- TokensReader
Attributes
- Inherited from:
- TokensReader
Attributes
- Definition Classes
- Inherited from:
- Simple
In this article