Scallop v4.0.0 Release Notes
-
- ๐ฅ BREAKING:
singleArgConverter
andlistArgConverter
now include exception text if provided handler didn't catch the exception; - ๐ฅ BREAKING:
singleArgConverter2
was removed; - ๐ฅ BREAKING:
ArgType.V
is now sealed abstract class; - ๐ฅ BREAKING:
ScallopHelpFormatter.getOptionLines
(and similar methods) now returnList[Either[String, CliOption]]
instead ofList[Option[CliOption]]
; - ๐ฅ BREAKING: behavior change: Scallop now supports trailing arguments before options, thus
--opt1 optArg1 trailArg1 --opt2
will now be parsed instead of throwing an error; - ๐ฅ BREAKING: behavior change: Scallop now handles single and double quotes in a shell-like fashion when reading options from stdin or file;
- โ added support for trailing arguments before (or between) options, see #147;
- โ added cross-compilation for Scala 3.0.0-M2, see #215 and #216 (@Sciss);
- โ added support for option ordering in help output via option groups, see #196;
- ๐ handle single and double quoted strings when reading options from stdin or file, allows for using arguments with spaces in such cases;
- ๐ฅ BREAKING: