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.
Contains implicits to make working with OptParse easier
Type and Object aliases for OptParse that are mixed into OptParse to allow importing of only OptParse (import com.
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 (MyFlag) .
Allows "if (MyFlag) ..."
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
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")