📄️ Config
This command generates IDE run configurations for VS Code and Android Studio based on the morpheme.yaml configuration. It sets up launch configurations for all defined flavors (Debug, Profile, Release) and integrates pre-launch tasks.
📄️ Apps
This command is used to generate a new app module within the project, which is particularly useful for building super apps or modular applications.
📄️ Feature
This command generates a new feature module, which is an independent package where you can build your application features. It handles the creation of the module structure and automatically registers it with the main application.
📄️ Page
This command generates a new page within an existing feature module, following the project's Clean Architecture structure. It creates the necessary directories and files for the data, domain, and presentation layers, and registers the new page in the feature's Locator.
📄️ API
This command is used to generate the API on a page. It creates a complete API integration layer following clean architecture principles.
📄️ Endpoint
This command generates a centralized MorphemeEndpoints class based on endpoint definitions found in json2dart.yaml files across your features. It facilitates easy access to API URIs throughout your application.
📄️ Assets
This command generates type-safe Dart constants for your assets defined in pubspec.yaml and scans for flavor-specific assets. It simplifies asset usage by providing autocomplete-ready classes, eliminating the need for hardcoded string paths.
📄️ Color2Dart
This command generates Dart color classes and theme data from YAML configuration files. It streamlines the management of application themes, supporting light/dark modes, custom color palettes, and flavor-specific configurations.
📄️ L10n (Localization)
This command facilitates the generation of localization classes from ARB (Application Resource Bundle) files. It acts as a powerful wrapper around Flutter's gen-l10n, adding the capability to split your ARB files by feature for better maintainability.
📄️ Firebase
This command sets up Firebase integration for your Flutter project by automating the flutterfire CLI. It supports flavor-specific configurations and CI/CD workflows using service accounts.
📄️ Core Package
This command generates a new internal package within the core module. This is useful for creating reusable, modular components that are shared across different features or apps.
📄️ Local2Dart
This command generates a robust SQLite database layer using sqflite. It automates the creation of tables, triggers, views, and seed data based on a YAML configuration file. It also generates a type-safe Service class for performing CRUD operations.
📄️ Remove Apps
This command allows you to safely remove an entire app module from your project. It automates the deletion of the directory and cleans up all related configurations to ensure the project remains buildable.
📄️ Remove Feature
This command allows you to safely remove a feature module from your project. It automates the deletion of the directory and cleans up all related configurations to ensure the project remains buildable.
📄️ Remove Page
This command allows you to safely remove a specific page (module) from a feature. It deletes the page's directory, its associated tests, and removes its registration from the dependency injection container.
📄️ Remove Test
This command allows you to clean up generated test helper files, specifically bundletest.dart and coveragehelper_test.dart. It can target the entire project, specific apps, features, or pages.
📄️ Json2Dart
This command generates a complete API integration layer (models, entities, repositories, datasources, and BLoCs) based on the configuration in json2dart/json2dart.yaml. It follows Clean Architecture principles and supports advanced features like caching, multipart requests, and custom return types.
📄️ Template Test
This command generates a comprehensive unit test structure for a specific page within a feature. It sets up the necessary test files and directories for the Data, Domain, and Presentation layers, following Clean Architecture principles.