CLIConfig class
Represents the configuration for the CLI tool parsed from arguments.
Constructors
- CLIConfig.new({required String projectDirectory, required String outputDirectory, bool verbose = false})
- Constructor to initialize the CLI configuration.
-
CLIConfig.fromArguments(List<
String> arguments) -
Factory method to parse and validate arguments.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- outputDirectory → String
-
The directory where the generated Markdown files will be stored.
final
- projectDirectory → String
-
The directory containing the Dart/Flutter project to document.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose → bool
-
Optional flag to enable verbose logging.
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