clean_dart_cli

Creator: coderz1093

Last updated:

0 purchases

clean_dart_cli Image
clean_dart_cli Images

Languages

Categories

Add to Cart

Description:

clean dart cli

Clean Dart CLI #

This project is one cli for integrate Flutter and Dart with Clean Architecture
With this cli you can generate the structure of the folders based on the structure of the Clean Architecture and files like models, usecases and entites for automatize the time of the development.
How to use? #
First thing that you need to do is activate the clean-dart-cli, for this run the command bellow in your terminal
$ pub global activate clean_dart_cli
copied to clipboard
Select options on terminal #
$ clean-dart
copied to clipboard

Generate the layers folders #
With clean-dart-cli you can generate all folders of the one specific layer
how to generate domain layer
$ clean-dart gen layer domain /example
copied to clipboard

how to generate infra layer
$ clean-dart gen layer infra /example
copied to clipboard

how to generate external layer
$ clean-dart gen layer external /example
copied to clipboard

how to generate ui layer
$ clean-dart gen layer ui /example
copied to clipboard

how to generate complete layers
$ clean-dart gen layer complete /example
copied to clipboard

Generate Files #
how to generate usecases
$ clean-dart gen usecase /example/domain/usecases RegisterUser
copied to clipboard

how to generate entities
$ clean-dart gen entity /example/domain/entities User
copied to clipboard

how to generate models
$ clean-dart gen model /example/infra/models User
copied to clipboard

darthow to generate modelsJs (Model with Json Serializable)
$ clean-dart gen modelJs /user/external/models User
copied to clipboard

how to generate error
$ clean-dart gen error /user/domain/error User
copied to clipboard

Upgrade Clean Dart Cli #
$ clean-dart upgrade
copied to clipboard
List Commands #
$ clean-dart --help
copied to clipboard
How to contribute? #
You can clone this project and send a pull request with your improvements or open issues

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.