code_structure
A CLI tool to scaffold solid code frame for your Dart/Flutter projects.
Installation
Activate the package globally:
dart pub global activate code_structure
Usage
Navigate to your project directory and run:
build code structure
This command will:
- Clone a solid code frame template from the repository
- Copy the
libfolder structure into your current project - Automatically update the
pubspec.yamlwith your project name - Update all package imports to match your project name
- Clean up temporary files
Example
# Create a new directory for your project
mkdir my_awesome_app
cd my_awesome_app
# Initialize the code structure
build code structure
The tool will fetch the code frame and set up your project with a solid architecture structure.
Features
- ๐ Quick project scaffolding
- ๐ Organized folder structure
- โ๏ธ Automatic project name configuration
- ๐งน Clean and minimal setup