Parent class for option descriptors.
This trait contains various predefined converters for common use-cases.
Internal class - container for help information for a single option.
A class that lazily encapsulates a map inside.
Descriptor for a property option with a "long" name (like --Props key1=value1 key2=value2
).
Descriptor for a number option (-1
or -3
, like GNU tail for example).
Descriptor for a property option (like -Dkey=value
or -D key1=value1 key2=value2
).
Internal configuration builder.
Base class for CLI parsers.
Contains non-platform-specific functionality of ScallopConf.
Helper trait for generaton of validate
methods on ScallopConf.
Used by ScallopConf.
A class to hold a reference to not-yet-computed option values.
Group of options.
Use this trait to make your ScallopConf serializable.
Descriptor for a simple option - describes flag, one-arg or multi-arg options (--opt [ARGS].
Base class for CLI subcommands.
Descriptor for a toggle option (like --verbose/--noverbose
).
Descriptor for a trailing arg option.
Converter from list of plain strings to something meaningful.
An enumeration of possible arg types by number of arguments they can take.
Contains helper functions to handle differences between different platforms (JVM, Native, JS).
Parses the trailing arguments (including the arguments to last option).
Creates a converter for an option which accepts multiple arguments.
Creates a converter for an option which accepts multiple arguments.
The conversion function to use on each argument. May throw an exception on error.
A ValueConverter instance.
Handler function for numeric types which expects a NumberFormatException and prints a more helpful error message.
Handler function for numeric types which expects a NumberFormatException and prints a more helpful error message.
the type name to display
Creates a converter for an option with single optional argument
(it will parse both --opt
and --opt arg
command lines).
Creates a converter for an option with single optional argument
(it will parse both --opt
and --opt arg
command lines).
The default value to use if argument wasn't provided.
Converter instance to use if argument was provided.
A ValueConverter instance.
Creates a converter for a property option.
Creates a converter for a property option.
The converter function to use on each value. May throw an exception on error.
A ValueConverter instance.
Creates a converter for an option with a single argument.
Creates a converter for an option with a single argument.
The conversion function to use. May throw an exception on error.
An error handler function for writing custom error messages.
A ValueConverter instance.
Converter for a tally option, used in ScallopConf.
Converter for a tally option, used in ScallopConf.tally