📄️ Create
This command creates a new Flutter application by scaffolding the Morpheme Flutter Starter Kit. It automates the process of cloning the repository, renaming the project (refactoring), and initializing the necessary configurations.
📄️ Get
This command retrieves all dependencies for your project by running flutter pub get recursively across all packages (main, core, and features). It ensures that all modules have their dependencies resolved and are in sync.
📄️ Run
This command runs your Flutter application on a connected device or emulator. It automatically handles environment-specific configurations (flavors) defined in your morpheme.yaml, injecting them as dart-define variables.
📄️ Test
This command executes unit tests for your project. To optimize performance, it automatically generates a bundle_test.dart file that aggregates all individual test files, allowing them to run in a single process per module.
📄️ Coverage
Requirement
📄️ Analyze
This command runs static code analysis (linting) across your entire project, including the main app, core packages, and all feature modules. It helps ensure code quality and adherence to strict typing and style rules defined in your project.
📄️ Format
This command formats your Dart code using dart format to ensure consistent code style across your project. It can be applied globally or targeted to specific modules (apps, features, or pages).
📄️ Clean
This command performs a deep clean of your project to remove generated artifacts, build caches, and temporary files. It ensures a fresh state for your next build by targeting the main project, core packages, and all feature modules recursively.
📄️ Fix
This command applies automated code fixes to your Dart files using dart fix. It identifies and resolves common issues, such as unused imports, missing const modifiers, and outdated syntax.
📄️ Refactor
This command systematically refactors your project by renaming file names, class names, variables, and package references. It's powerful for rebranding or changing the project name after creation.
📄️ Cucumber
This command allows you to run integration tests written in the Gherkin language using the morpheme_cucumber package. It bridges the gap between readable feature files and Flutter's integration test driver.
📄️ unused-l10n
This command analyzes your codebase to identify localization (l10n) keys defined in your ARB files that are not actually used in your Dart code. It helps keep your localization files clean and lightweight.
📄️ Download
This command automates the downloading of external resources defined in your morpheme.yaml. It is useful for fetching assets, documentation, or other dependencies that are not managed by pub.
📄️ Ic Launcher
This command standardizes the process of updating your application's launcher icons for both Android and iOS platforms across different flavors (environments).
📄️ Upgrade Dependency
This command upgrades the dependencies in your project to their latest compatible versions. It helps keep your project up-to-date with security patches and new features.