This is fork from official stacked_cli modified for Wow Labz. To know more about stacked_cli and its usage visit their official docs
Run this dart pub global activate -sgit https://github.com/naanrot/w_cli
command to install the w_stacked
. This will install as a seperate package and will not update your existing stacked_cli
if installed.
This has all feature supported by official stacked_cli, and also brings extra commands and updates over that. Those are:
- The app template for creating a new project is modified and has new files having support for network client, user service etc.
- New
network
command undercreate
. This will create a freezed class for DTO in data layer, a mapper and a entity in domain layer. - New
localize
command is a short command in place ofdart run easy_localization:generate -S assets/translations -f keys -o locale_keys.g.dart
- New
init
command will run these following commands.flutter clean
flutter pub get
dart run build_runner build -d
dart run easy_localization:generate -S assets/translations -f keys -o locale_keys.g.dart