clean_structure 0.1.0 copy "clean_structure: ^0.1.0" to clipboard
clean_structure: ^0.1.0 copied to clipboard

A CLI tool for generating clean architecture Flutter project structures.

Clean Structure Generator #

A CLI tool for generating clean architecture Flutter project structures.

Features #

  • Generates a clean architecture project structure
  • Creates feature modules with proper separation of concerns
  • Follows clean architecture principles
  • Easy to use command-line interface

Installation #

# Activate
dart pub global activate clean_structure

# Deactivate
dart pub global deactivate clean_structure

Usage #

Create a new project structure #

clean_structure create

This will generate a clean architecture project structure in your current Flutter project.

Generate a new feature #

clean_structure feature --name user_auth
# or
clean_structure feature -n user_auth

This will generate a new feature module with proper clean architecture structure.

Create a template with specific architecture #

# For feature-driven architecture
clean_structure template --type feature
# or
clean_structure template -t feature

# For layer-driven architecture
clean_structure template --type layer
# or
clean_structure template -t layer

This will create a template with the specified architecture type in your project root.

Show help #

clean_structure help
# or
clean_structure --help
# or
clean_structure -h

Contributing #

Contributions are welcome! Please feel free to submit a Pull Request.

License #

This project is licensed under the MIT License - see the LICENSE file for details.


Генератор Чистой Архитектуры #

Командный инструмент для генерации структур проектов с чистой архитектурой в приложениях Flutter.

Возможности #

  • Генерация структуры проекта с чистой архитектурой
  • Создание модулей функций с правильным разделением ответственности
  • Следование принципам чистой архитектуры
  • Простой в использовании интерфейс командной строки

Установка #

# Активация
dart pub global activate clean_structure

# Деактивация
dart pub global deactivate clean_structure

Использование #

Создание структуры проекта #

clean_structure create

Это создаст структуру проекта с чистой архитектурой в вашем текущем проекте Flutter.

Создание новой функции #

clean_structure feature --name user_auth
# или
clean_structure feature -n user_auth

Это создаст новый модуль функции с правильной структурой чистой архитектуры.

Создание шаблона с конкретной архитектурой #

# Для архитектурой на основе функций
clean_structure template --type feature
# или
clean_structure template -t feature

# Для архитектурой на основе слоев
clean_structure template --type layer
# или
clean_structure template -t layer

Это создаст шаблон с указанным типом архитектуры в корне вашего проекта.

Показать справку #

clean_structure help
# или
clean_structure --help
# или
clean_structure -h

Toza Arxitektura Generatori #

Flutter ilovalari uchun toza arxitekturaga asoslangan loyiha strukturalarini yaratish uchun komanda satri vositasi.

Imkoniyatlar #

  • Toza arxitekturaga asoslangan loyiha strukturasini yaratish
  • Funksiyalar modullarini to'g'ri bo'linish bilan yaratish
  • Toza arxitektura tamoyillariga amal qilish
  • Oson ishlatiladigan komanda satri interfeysi

O'rnatish #

# Faollashtirish
dart pub global activate clean_structure

# O'chirish
dart pub global deactivate clean_structure

Foydalanish #

Loyiha strukturasini yaratish #

clean_structure create

Bu sizning joriy Flutter loyihangizda toza arxitekturaga asoslangan struktura yaratadi.

Yangi funksiya yaratish #

clean_structure feature --name user_auth
# yoki
clean_structure feature -n user_auth

Bu toza arxitekturaga mos yangi funksiya modulini yaratadi.

Yangi shablon yaratish #

clean_structure template --type feature
# yoki
clean_structure template -t feature

clean_structure template --type layer
# yoki
clean_structure template -t layer

Bu shablonni joriy loyihasida belgilangan turga asoslangan yaratadi.

Yordam ko'rsatish #

clean_structure help
# yoki
clean_structure --help
# yoki
clean_structure -h
9
likes
0
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool for generating clean architecture Flutter project structures.

Homepage

Funding

Consider supporting this project:

buymeacoffee.com

License

unknown (license)

Dependencies

args, http, path

More

Packages that depend on clean_structure