CliArgsHelper class
Utility class for enhanced args functionality with Clix styling
Constructors
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
-
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
Static Methods
-
formatHelp(
String usage, String? programName) → String - Format help text with Clix styling
-
handleError(
Object error, CliLogger logger) → void - Handle argument parsing errors with Clix styling
-
showExamples(
List< String> examples, CliLogger logger) → void - Show usage examples
-
showParsedResults(
CliArgResults results, CliLogger logger) → void - Display parsed results in a formatted way
-
validateFiles(
List< String> files, CliLogger logger) → bool - Validate file arguments exist