switch package:configuration-tools

Builder for a boolean flag. Note: Because this parser will never fail, it can not be used with combinators such as some or many, as these combinators continue until a failure occurs. See flag'.
switch = flag False True