Generates flutter feature BLOC/REPO/VIEW
Heavily inspired by very_good_cli
dart pub global activate mago_merlino
dart pub global run mago_merlino run
-
dart pub global run mago_merlino create-feature abc
Creates a new flutter feature in the root. -
dart pub global run mago_merlino create-feature abc --path lib/feature
Creates a new flutter feature in the specified directory. -
dart pub global run mago_merlino create-feature abc --package-name your_package_name
Creates a new flutter feature using your project package name. -
pub run mago_merlino update-feature
Updates the template of the flutter feature
-
dart pub global run mago_merlino create-feature-test abc
Creates a new flutter feature test in the test folder, at root level. -
dart pub global run mago_merlino create-feature-test abc --path lib/feature
Creates a new flutter feature test in the test folder, inside the specified directory. -
dart pub global run mago_merlino create-feature-test abc --package-name your_package_name
Creates a new flutter feature test using your project package name. -
pub run mago_merlino update-feature-test
Updates the template of the flutter feature test
- To run locally:
dart bin/mago_merlino.dart command_name