CmtcCommand
Attributes
- Graph
-
- Supertypes
-
class CmtCommand[T]class Command[T]class CaseApp[T]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Definition Classes
-
CmtCommand -> CaseApp
- Inherited from:
- CmtCommand
Attributes
- Inherited from:
- CaseApp
Arguments are expanded then parsed. By default, argument expansion is the identity function. Overriding this method allows plugging in an arbitrary argument expansion logic.
Arguments are expanded then parsed. By default, argument expansion is the identity function. Overriding this method allows plugging in an arbitrary argument expansion logic.
One such expansion logic involves replacing each argument of the form '@
Attributes
- Example
-
import caseapp.core.parser.PlatformArgsExpander override def expandArgs(args: List[String]): List[String] = PlatformArgsExpander.expand(args)
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- Command
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- Command
Whether to ignore unrecognized arguments.
Whether to ignore unrecognized arguments.
That is, if there are unrecognized arguments, the parsing still succeeds. The unparsed arguments are put in the args
argument of run
.
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- Command
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- Command
Attributes
- Inherited from:
- CaseApp
Whether to stop parsing at the first unrecognized argument.
Whether to stop parsing at the first unrecognized argument.
That is, stop parsing at the first non option (not starting with "-"), or the first unrecognized option. The unparsed arguments are put in the args
argument of run
.
Attributes
- Inherited from:
- CaseApp
Attributes
- Inherited from:
- CaseApp
Concrete fields
Inherited fields
Attributes
- Inherited from:
- CaseApp