moarch
A simple Dart/Flutter CLI for scaffolding Clean Architecture-style apps.
Install
dart pub global activate moarch
If moarch is not found, make sure your Pub bin folder is on your PATH.
Quick start
flutter create my_app
cd my_app
moarch init
moarch create feature auth
Commands
moarch init # interactive scaffold
moarch init --all # generate the default structure without prompts
moarch create feature auth
What it generates
lib/main.dart,core/,config/,shared/, andfeatures/- Riverpod + optional GoRouter setup
- Envied-based
.envsupport - secure storage, logger, helpers, and reusable widgets
- optional services such as notifications, URL launcher, media, debounce
- optional localization with
assets/i18n/and FlutterLocalization initialization
Local development
git clone https://github.com/SuperMoooo/moarch.git
cd moarch
dart pub global activate --source path ./
License
MIT © André Montoito