feature_folder_cli
CLI उपकरण जो मॉडल, सेवाएं, रिपॉजिटरी, स्क्रीन और विजेट के लिए निर्देशिकाओं को सेटअप करने के लिए आवश्यक बार-बार काम को कम करता है।
फीचर फ़ाइल संरचना के अनुसार फ़ोल्डर बनाने वाला CLI उपकरण
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
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/
┃ ┣ 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
Make sure you are in the root of your project
ff generate -n <feature_name> -t <type> -p <path>
Currently supporting only the
simpleandgetxtypes
उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗