architecture_cli

Last updated:

0 purchases

architecture_cli Image
architecture_cli Images
Add to Cart

Description:

architecture cli

architecture_cli #
architecture_cli is a command-line interface tool that generates folder structures for different software architecture patterns in Dart. It provides guidelines for each folder's intended purpose to promote good design and separation of concerns.

Note: If the 'lib' directory exists, the architecture will be created inside the 'lib', otherwise it will be created in the root directory.

Supported Architectures #
architecture_cli currently supports the following software architecture patterns:

MVC (Model-View-Controller)
MVVM (Model-View-ViewModel)
MVP (Model-View-Presenter)
Clean Architecture
Provider Architecture
GetX Architecture
BLoC (Business Logic Component) Architecture
BLoC only structure

Installation #
You can install architecture_cli from pub.dev by running the following command:
dart pub global activate architecture_cli
copied to clipboard
Usage #
To create a new architecture structure, run the following command:
architecture_cli --create [name]
copied to clipboard

Alternatively, you can use the following commands:

folder_cli --create [name]
copied to clipboard
arch_cli --create [name]
copied to clipboard
Where [name] is the name of the desired architecture pattern. For Example:
architecture_cli --create mvc
copied to clipboard
After generating the architecture structure, you will find a Markdown file in the generated folder structure that provides guidelines for each folder's intended purpose.
Examples #
Here are some examples of the commands you can use to generate different architecture patterns:

Generate a GetX architecture structure:

architecture_cli --create getx
copied to clipboard

Generate a Clean Architecture structure:

architecture_cli --create clean_architecture
copied to clipboard

Generate an MVP architecture structure:

architecture_cli --create mvp
copied to clipboard

Generate a Provider architecture structure:

architecture_cli --create provider
copied to clipboard

Generate a BLoC structure:

architecture_cli --create bloc
copied to clipboard

Generate a BLoC App structure:

architecture_cli --create bloc_app
copied to clipboard
Support #
If you find this package helpful, please consider buying me a coffee!

Thank you for your support!
— Hammad Parveez

— Visit devhammad.com

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.