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:

  1. Clone a solid code frame template from the repository
  2. Copy the lib folder structure into your current project
  3. Automatically update the pubspec.yaml with your project name
  4. Update all package imports to match your project name
  5. 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

Repository

https://github.com/ThawSoe/code_structure

Libraries

code_structure