Parse arguments.
Parse arguments.
Like parse
, but keeps the non option arguments in a caseapp.core.RemainingArgs.
in case of error, an caseapp.core.Error, wrapped in scala.Left; in case of success, a D
, the
non option arguments, wrapped in a scala.Right, along with the result of parsing the specified command
if any.
Check if this caseapp.core.commandparser.CommandParser accepts a command, and return its caseapp.core.parser.Parser if it does.
Check if this caseapp.core.commandparser.CommandParser accepts a command, and return its caseapp.core.parser.Parser if it does.
in case of success, Parser[T]
of command
, wrapped in scala.Some; scala.None in case of failure
Parse arguments.
Parse arguments.
Arguments before any command are parsed with beforeCommandParser
as a D
.
in case of error, an caseapp.core.Error, wrapped in scala.Left; in case of success, a D
, the
non option arguments, wrapped in a scala.Right, along with the result of parsing the specified command
if any.
Creates a CommandParser accepting help / usage arguments, out of this one.
Creates a CommandParser accepting help / usage arguments, out of this one.