ProjectStructureBuilder class
This file contains the main class of the project structure builder. The project structure builder is a command line tool that generates the project structure for a Flutter project based on the configuration in the "project_structure_builder.yml" file.
The builder can be run from the command line using the following command:
dart run project_structure_builder <command> [arguments]
The command argument can be either "update" to update the project
structure, or "help" to print the help message.
The arguments argument is a list of command line arguments that
can be passed to the UpdateCommand class. The arguments are
described in the UpdateCommand class.
The ProjectStructureBuilder class is the main class of the project
structure builder. It contains the run method which is called
when the builder is run from the command line. The run method
checks the command line arguments and runs the UpdateCommand if
the command is "update". If the command is "help", it prints the
help message. Otherwise, it prints an error message.
The run method also prints the initialization message.
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
-
run(
List< String> arguments) → void - Runs the project structure builder.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited