Skip to main content

code_structure 1.2.0 copy "code_structure: ^1.2.0" to clipboard
code_structure: ^1.2.0 copied to clipboard

A CLI tool to scaffold solid code frame.

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

1
likes
130
points
45
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool to scaffold solid code frame.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, path, process_run

More

Packages that depend on code_structure