ArgumentParser

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case object EarlyExit extends Result

Parsing signalled an early exit. This means that there wasn't an error, but that not all arguments were parsed. This occurs if one of the arguments requested an early exit after some side-effect (for example, --help will print a help message and then signal an early exit). Arguments are not available.

Parsing signalled an early exit. This means that there wasn't an error, but that not all arguments were parsed. This occurs if one of the arguments requested an early exit after some side-effect (for example, --help will print a help message and then signal an early exit). Arguments are not available.

case object Error extends Result

There was an error during parsing. Arguments are not available.

There was an error during parsing. Arguments are not available.

sealed trait Result
case object Success extends Result

Parsing succeeded. Arguments are available.

Parsing succeeded. Arguments are available.

Value members

Concrete methods

def apply(description: String, enableHelpFlag: Boolean, enableBashCompletionFlag: Boolean, stdout: PrintStream, stderr: PrintStream): ArgumentParser