Simple
A TokensReader for a single CLI parameter that takes a value
e.g. --foo bar
object BooleanRead.type
object ByteRead.type
object DoubleRead.type
object FloatRead.type
object IntRead.type
object LongRead.type
class OptionRead[T]
object ShortRead.type
object StringRead.type
Value members
Abstract 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"]
Inherited methods
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>
- Inherited from:
- ShortNamed