easy_cli 0.1.7 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