toggle
object toggle
Parses a boolean based on prefix of baseName:
- --[dont-]run : --dont-run [false] / --run [true]
- --[do/dont]-run : --do-run [true] / --dont-run [false]
Value members
Concrete methods
def apply(longParam: LongToggle, shortParam: Optional[ShortToggle], helpHint: List[String], helpExtraHint: List[String]): Parser[Boolean]
def prefixBoth(truePrefix: LongName, falsePrefix: LongName, baseName: LongName, shortParam: Optional[ShortToggle], helpHint: List[String], helpExtraHint: List[String]): Parser[Boolean]
def prefixFalse(falsePrefix: LongName, baseName: LongName, shortParam: Optional[ShortToggle], helpHint: List[String], helpExtraHint: List[String]): Parser[Boolean]
def prefixTrue(truePrefix: LongName, baseName: LongName, shortParam: Optional[ShortToggle], helpHint: List[String], helpExtraHint: List[String]): Parser[Boolean]