clean_architecture_cli
is a Dart CLI tool designed to help developers create clean architecture folder structures and some common widgets and automatically update the pubspec.yaml
file in Flutter projects.
- Generate Folders: Automatically generate the clean architecture folder structure for your Flutter project.
- Update pubspec.yaml: Automatically add predefined dependencies and asset paths to your
pubspec.yaml
file.
To install my_clean_cli
, add the following dependency to your pubspec.yaml
:
You can use the CLI tool to generate folders and update the pubspec.yaml file with the following commands:
to generate the clean architecture folder structure:
dart run my_clean_cli --create --update-pubspec
dev_dependencies:
my_clean_cli: ^1.0.8