CommandLineParser class

A class for taking a list of raw command line arguments and parsing out options and flags from them.

Constructors

CommandLineParser()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getParser() → ArgParser
getParserResults(List<String> arguments, ArgParser parser) → ArgResults
Parses arguments, a list of command-line arguments, matches them against the flags and options defined by this parser, and returns the result.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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