easy_cli 0.1.7 copy "easy_cli: ^0.1.7" to clipboard
easy_cli: ^0.1.7 copied to clipboard

CLI utility that generates a folder structure to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.

Folder by Easy CLI Utility 📂 #

A Dart CLI tool that generates the folder structure for the folder-by-feature pattern. This tool helps to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.

Required flutter packages #

Get, Get Storage, Dio, Intl Phone Field

The folder structure generated by the cli is as follows:

core/
â”Ŗ constants/
┃ â”Ŗ app_icon.dart
┃ â”Ŗ app_icon.svg.dart
┃ ┗ app_regex.dart
â”Ŗ init/
┃ â”Ŗ service/
┃ ┃ â”Ŗ base_service.dart
┃ ┃ ┗ dio_service.dart
┃ â”Ŗ view
┃ ┃ â”Ŗ base
┃ ┃ ┃ â”Ŗ base_state.dart
┃ ┃ ┃ ┗ base_stateless.dart
┃ ┃ â”Ŗ theme
┃ ┃ ┃ ┗ theme.dart
┃ ┃ â”Ŗ widget
┃ ┃ ┃ â”Ŗ button
┃ ┃ ┃ â”Ŗ card
┃ ┃ ┃ â”Ŗ checkbox
┃ ┃ ┃ â”Ŗ form
┃ ┃ ┃ â”Ŗ slider
┃ ┃ ┃ â”Ŗ textformfield
┃ â”Ŗ viewmodel
┃ ┃ ┗ base_viewmodel.dart
â”Ŗ manager/
┃ â”Ŗ auth/
â”Ŗ â”Ŗ auth_manager.dart
┃ ┃
┃ â”Ŗ cache/
â”Ŗ ┗ cache_manager.dart       
â”Ŗ extension/
┃ ┗ base_extension.dart 
â”Ŗ language/
┃ ┗ base_language.dart 
â”Ŗ model/
┗ ┗ base_model.dart 

feature/
â”Ŗ components/
┃ ┗ button

product/
â”Ŗ model/
┃ ┗ product_model.dart
â”Ŗ service/
┃ ┗ product_service.dart
â”Ŗ view/
â”Ŗ â”Ŗ product_state_view.dart
â”Ŗ ┗ product_stateless_view.dart       
â”Ŗ viewmodel/
┃ ┗ product_viewmodel.dart 

Command Usage 🔧 #

Make sure you are in the root of your project

easy generate -n <project_name>

Šī¸ 2022 Eren KARA

3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

CLI utility that generates a folder structure to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

ansicolor, args, flutter, path, recase

More

Packages that depend on easy_cli