StandardCommandResolver<O extends OptionDefinition, T> class

The standard command resolver.

Implemented types

Constructors

StandardCommandResolver(CommandRunner<O, T> runner)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runner → CommandRunner<O, T>
The runner whose command tree and parser settings are resolved.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveConfigurations(Iterable<String> args, Map<String, String>? env, ContextProvider provider, {required CommandRunMode runMode}) → CommandContext<O, T>
Resolves the configurations for each command on the command line.
override
resolveNext(ArgParseResult<OptionDefinition> argParseResult, Map<String, String>? env, ContextProvider provider, CommandContext<OptionDefinition, T>? prevContext, {required CommandRunMode runMode}) → CommandContext<OptionDefinition, T>
throwIfConfigurationErrors(CommandContext<OptionDefinition, dynamic> contexts, CommandRunMode runMode) → void
Throws a CommandUsageException if any command on the command line has configuration errors, including command line parse errors.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited