Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryandsilva/feature_folder_cli
CLI utility that generates folder by feature file structure
https://github.com/ryandsilva/feature_folder_cli
cli dart dartlang developer-tools feature-folders flutter mason template template-generator
Last synced: about 2 months ago
JSON representation
CLI utility that generates folder by feature file structure
- Host: GitHub
- URL: https://github.com/ryandsilva/feature_folder_cli
- Owner: RyanDsilva
- License: mit
- Created: 2021-07-16T14:29:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T04:21:02.000Z (10 months ago)
- Last Synced: 2024-11-08T22:10:25.286Z (about 2 months ago)
- Topics: cli, dart, dartlang, developer-tools, feature-folders, flutter, mason, template, template-generator
- Language: Dart
- Homepage: https://pub.dev/packages/feature_folder_cli
- Size: 50.8 KB
- Stars: 49
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Folder by Feature CLI Utility :open_file_folder:
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:
```md
feature/
┣ domain/
┃ ┣ models/
┃ ┣ repository/
┃ ┣ services/
┃ ┗ index.dart
┣ screens/
┃ ┣ feature_screen.dart
┃ ┗ index.dart
┣ widgets/
┃ ┣ feature_component.dart
┃ ┗ index.dart
┣ providers/
┃ ┣ feature_provider.dart
┃ ┗ index.dart
┗ index.dart
```## Command Usage :wrench:
> Make sure you are in the root of your project
```sh
ff generate -n -t -p
```> Currently supporting only the `simple` and `getx` types