project_gen_cli 1.0.0 copy "project_gen_cli: ^1.0.0" to clipboard
project_gen_cli: ^1.0.0 copied to clipboard

A simple Dart CLI tool that generates boilerplate folder structures for Flutter features using the feature-first architecture pattern.

project_gen_cli #

project_gen_cli CLI is a Dart command-line tool that helps you quickly scaffold feature-based folder structures for Flutter projects. With a single command, it creates all necessary directories (like views, widgets, and providers) and auto-generates a starter Dart file for each feature. This tool saves you time and enforces consistent project architecture for teams and solo developers alike.


🚀 Installation #

To use the project_gen_cli CLI tool, you need to activate it globally using pub.

Run the following command in your terminal:

dart pub global activate project_gen_cli

dart pub global run project_gen_cli auth profile orders


✅ Highlights: #

Clean feature-first folder structure
Auto-generates Dart files like profile_view.dart
Simple and fast CLI
Customizable base path
Ready to be used in teams and real projects

✅ Example Output #

Building package executable... 
Built project_gen_cli:project_gen_cli.
✅ Created: lib/features/auth/presentation/views
📝 Created file: lib/features/auth/presentation/views/auth_view.dart
✅ Created: lib/features/auth/presentation/widgets
✅ Created: lib/features/auth/providers
✅ Created: lib/features/profile/presentation/views
📝 Created file: lib/features/profile/presentation/views/profile_view.dart
✅ Created: lib/features/profile/presentation/widgets
✅ Created: lib/features/profile/providers
✅ Created: lib/features/orders/presentation/views
📝 Created file: lib/features/orders/presentation/views/orders_view.dart
✅ Created: lib/features/orders/presentation/widgets
✅ Created: lib/features/orders/providers
🎉 All done!
1
likes
130
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A simple Dart CLI tool that generates boilerplate folder structures for Flutter features using the feature-first architecture pattern.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

args

More

Packages that depend on project_gen_cli