mago_merlino 0.0.4 copy "mago_merlino: ^0.0.4" to clipboard
mago_merlino: ^0.0.4 copied to clipboard

outdated

✨ Mago Merlino ✨ #

Features #

Generates flutter feature BLOC/REPO/VIEW

Heavily inspired by very_good_cli

Installation #

Move the mago_merlino file to the root of your project.

or

dart pub global activate mago_merlino
or
dart pub global activate -sgit https://github.com/PatchAii/mago-merlino.git


dart pub global run mago_merlino:mago_merlino create-feature abc
dart pub global run mago_merlino:mago_merlino create-feature abc --path lib/feature/abc

Commands #


create-feature #

  • dart pub global run mago_merlino:mago_merlino create-feature abc Creates a new flutter feature project in the root.

  • dart pub global run mago_merlino:mago_merlino create-feature --path lib/feature/abc Creates a new flutter feature project in the specified directory.

  • pub run mago_merlino update-feature Updates the template of the flutter feature project


Building from source #

  • To run locally:
dart bin/mago_merlino.dart command_name
  • For production release:
dart2native bin/mago_merlino.dart -o mago_merlino