NumberArgOption

case class NumberArgOption(name: String, required: Boolean, descr: String, converter: ValueConverter[Long], validator: Any => Boolean, default: () => Option[Long], hidden: Boolean) extends CliOption

Descriptor for a number option (-1 or -3, like GNU tail for example).

Descriptor for a number option (-1 or -3, like GNU tail for example).

Value Params
converter

The converter for this option.

default

If this argument is not required and not found in the argument list, use this value.

descr

Description for this option, for help text.

hidden

If set to true then this option will not be present in auto-generated help.

name

Name for new definition, used for identification.

required

Is this trailing argument required?

validator

The function that validates the parsed value.

trait Serializable
trait Product
trait Equals
trait CliOption
class Object
trait Matchable
class Any

Value members

Concrete methods

def argLine(sh: List[Char]): String
def helpInfo(sh: List[Char]): List[HelpInfo]
def isPositional: Boolean
def longNames: List[String]
def requiredShortNames: List[Char]
def shortNames: List[Char]
override def toString: String
Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product