clam.derivation.DerivationApi.RepeatedParam
case class RepeatedParam[A, Col <: (Iterable)](scalaName: String, default: Option[() => Col[A]], annot: param, doc: String, argName0: Option[String], reader0: Reader[A], completer: Completer[A], factory: Factory[A, Col[A]]) extends Parser[Col[A]] A single CLI parameter (may be repeated) which maps to a single scala parameter.
Attributes
- Graph
- Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Set this to true if the extraction will handle an unknown getopt result
and its remainder.
Set this to true if the extraction will handle an unknown getopt result
and its remainder.
Attributes
- Inherited from:
- Parser
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Override this to define subcommands.
Override this to define subcommands.
Notes:
- There can only be one parser which defines subcommands, and this
parser must come last. More than one will lead to an impossible CLI
grammar.
- The reason for defining subcommands in the Parser trait (instead of
subclassing it), is so that parsers can easily be composed and reused.
Attributes
- Inherited from:
- Parser