stacked_cli 1.0.16 stacked_cli: ^1.0.16 copied to clipboard
A command line tool to specially use with Flutter stacked architecture or MVVM architecture as suggested by FilledStack.
Stacked CLI #
Note: This tool is only applicable to stacked / MVVM architecture project by FilledStack Stacked Architecture && make sure you have dart SDK installed
Get Started #
Run this command in your terminal
pub global activate stacked_cli
How to add view: #
use this alias in your stacked architecture project.
$ st_cli view name-in-small-words
$ st_cli view login
$ st_cli view userProfile
It will generate some files and folders (if not exist) in your lib folder with some starting code.
How to add service: #
$ st_cli service firestore
$ st_cli service userAuth
it will generate services folder and service file in it and it also injects that service in your app