package
scallop
Type Members
-
sealed
trait
CliOption extends AnyRef
-
class
LazyMap[A, +B] extends Map[A, B]
-
case class
LongNamedPropertyOption(name: String, descr: String, converter: ValueConverter[_], keyName: String, valueName: String, hidden: Boolean) extends CliOption with Product with Serializable
-
case class
NumberArgOption(name: String, required: Boolean, descr: String, converter: ValueConverter[Long], validator: (scala.reflect.api.JavaUniverse.TypeTag[_], Any) ⇒ Boolean, default: () ⇒ Option[Long], hidden: Boolean) extends CliOption with Product with Serializable
-
case class
PropertyOption(name: String, short: Char, descr: String, converter: ValueConverter[_], keyName: String, valueName: String, hidden: Boolean) extends CliOption with Product with Serializable
-
case class
Scallop(args: Seq[String] = Nil, opts: List[CliOption] = Nil, mainOpts: List[String] = Nil, vers: Option[String] = None, bann: Option[String] = None, foot: Option[String] = None, descr: String = "", helpWidth: Option[Int] = None, shortSubcommandsHelp: Boolean = false, appendDefaultToDescription: Boolean = false, subbuilders: List[(String, Scallop)] = Nil, parent: Option[Scallop] = None) extends Product with Serializable
-
-
-
abstract
class
ScallopOption[A] extends AnyRef
-
case class
SimpleOption(name: String, short: Option[Char], descr: String, required: Boolean, converter: ValueConverter[_], default: () ⇒ Option[Any], validator: (scala.reflect.api.JavaUniverse.TypeTag[_], Any) ⇒ Boolean, argName: String, hidden: Boolean, noshort: Boolean) extends CliOption with Product with Serializable
-
-
case class
ToggleOption(name: String, default: () ⇒ Option[Boolean], short: Option[Char], noshort: Boolean, prefix: String, descrYes: String, descrNo: String, hidden: Boolean) extends CliOption with Product with Serializable
-
case class
TrailingArgsOption(name: String, required: Boolean, descr: String, converter: ValueConverter[_], validator: (scala.reflect.api.JavaUniverse.TypeTag[_], Any) ⇒ Boolean, default: () ⇒ Option[Any], hidden: Boolean) extends CliOption with Product with Serializable
-
Value Members
-
object
ArgType extends Enumeration
-
-
object
Scallop extends Serializable
-
-
implicit
val
bigDecimalConverter: ValueConverter[BigDecimal]
-
implicit
val
bigIntConverter: ValueConverter[BigInt]
-
implicit
val
byteConverter: ValueConverter[Byte]
-
implicit
val
byteListConverter: ValueConverter[List[Byte]]
-
implicit
val
bytePropsConverter: ValueConverter[Map[String, Byte]]
-
implicit
val
charConverter: ValueConverter[Char]
-
implicit
val
charPropsConverter: ValueConverter[Map[String, Char]]
-
implicit
val
doubleConverter: ValueConverter[Double]
-
implicit
val
doubleListConverter: ValueConverter[List[Double]]
-
implicit
val
doublePropsConverter: ValueConverter[Map[String, Double]]
-
-
implicit
val
fileConverter: ValueConverter[File]
-
implicit
val
flagConverter: ValueConverter[Boolean]
-
implicit
val
floatConverter: ValueConverter[Float]
-
implicit
val
floatListConverter: ValueConverter[List[Float]]
-
implicit
val
floatPropsConverter: ValueConverter[Map[String, Float]]
-
implicit
val
intConverter: ValueConverter[Int]
-
implicit
val
intListConverter: ValueConverter[List[Int]]
-
implicit
val
intPropsConverter: ValueConverter[Map[String, Int]]
-
def
listArgConverter[A](conv: (String) ⇒ A)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[List[A]]): ValueConverter[List[A]]
-
implicit
val
longConverter: ValueConverter[Long]
-
implicit
val
longListConverter: ValueConverter[List[Long]]
-
implicit
val
longPropsConverter: ValueConverter[Map[String, Long]]
-
def
numberHandler[T](name: String): PartialFunction[Throwable, Either[String, Option[T]]]
-
-
object
overrideColorOutput extends DynamicVariable[Option[Boolean]]
-
implicit
val
pathConverter: ValueConverter[Path]
-
def
propsConverter[A](conv: ValueConverter[A])(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[Map[String, A]]): ValueConverter[Map[String, A]]
-
implicit
val
shortConverter: ValueConverter[Short]
-
implicit
val
shortListConverter: ValueConverter[List[Short]]
-
implicit
val
shortPropsConverter: ValueConverter[Map[String, Short]]
-
def
singleArgConverter[A](conv: (String) ⇒ A, handler: PartialFunction[Throwable, Either[String, Option[A]]] = PartialFunction.empty)(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[A]): ValueConverter[A]
-
implicit
val
stringConverter: ValueConverter[String]
-
implicit
val
stringListConverter: ValueConverter[List[String]]
-
implicit
val
stringPropsConverter: ValueConverter[Map[String, String]]
-
-
object
throwError extends DynamicVariable[Boolean]
-
implicit
val
uriConverter: ValueConverter[URI]
-
implicit
val
urlConverter: ValueConverter[URL]
Inherited from AnyRef
Inherited from Any