ArgType

object ArgType

An enumeration of possible arg types by number of arguments they can take.

An enumeration of possible arg types by number of arguments they can take.

class Object
trait Matchable
class Any

Type members

Classlikes

case object FLAG extends V

Option takes no argument. At all. It is either there or it isn't.

Option takes no argument. At all. It is either there or it isn't.

case object LIST extends V

Option takes any number of arguments. (.opt[List[Int]])

Option takes any number of arguments. (.opt[List[Int]])

case object SINGLE extends V

Option takes only one argument. (for example, .opt[Int])

Option takes only one argument. (for example, .opt[Int])

sealed abstract class V(val fn: String => String)

Custom class for enumeration type.

Custom class for enumeration type.

Value Params
fn

Transformation from option name to option's args definition in help.