easy_cli 0.1.0 copy "easy_cli: ^0.1.0" to clipboard
easy_cli: ^0.1.0 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 Feature 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.

The folder structure generated by the cli is as follows:

feature/
â”Ŗ domain/
┃ â”Ŗ feature_model.dart
┃ â”Ŗ feature_repository.dart
┃ â”Ŗ feature_service.dart
┃ ┗ feature_domain.dart
â”Ŗ screens/
┃ â”Ŗ feature_screen.dart
┃ ┗ screens.dart
â”Ŗ widgets/
┃ â”Ŗ feature_widget.dart
┃ ┗ widgets.dart
â”Ŗ providers/
┃ â”Ŗ feature_provider.dart
┃ ┗ providers.dart
┗ index.dart

Command Usage 🔧 #

Make sure you are in the root of your project

ff generate -n <feature_name>

Šī¸ 2021 Ryan Dsilva

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