Base type for command line options that take an argument
A boolean/flag command line option
The base type of all command line options
OptParse provides simple command line parsing for Scala that only requires a minimal amount of code.
Base type for a command line option that contains a value
A command line option that takes a string argument
Companion object for creating BoolOpt's
Allows: if(NameOpt) .
Allows: if(NameOpt) ... instead of if(NameOpt.value.isDefined) ...
Allows BoolOpt(enables=MyOpt) instead of BoolOpt(enables=Seq(MyOpt))
Allows BoolOpt(enables=MyOpt) instead of BoolOpt(enables=Seq(MyOpt))
Allows any Option methods to be used on an OptVal
Companion object for creating StrOpt's
Allows regex usage for the validate option: validate="[a-zA-Z]+$"
Allows regex usage for the validate option: validate="[a-zA-Z]+$"
Allows longName="name" without needing long=Some("name")
Allows longName="name" without needing long=Some("name")