CliOptions class

Holds the parsed command-line options for the application

Constructors

CliOptions({required bool showSizes, required bool showHelp, required List<String> ignorePatterns, required SortBy sortBy, required SortDirection sortDirection, required bool suppressErrors, int? maxLevel})
Creates a new CliOptions instance with the specified parameters

Properties

hashCode → int
The hash code for this object.
no setterinherited
ignorePatterns → List<String>
List of patterns to ignore when traversing directories
final
maxLevel → int?
Maximum directory depth to traverse (null for unlimited)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showHelp → bool
Whether to display help information
final
showSizes → bool
Whether to display file and directory sizes
final
sortBy → SortBy
The criteria to sort directory entries by
final
sortDirection → SortDirection
The direction to sort directory entries
final
suppressErrors → bool
Whether to suppress error messages
final

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