This is just a CLI that clones my flutter template for me to use when trying to build any flutter app. I was struggling with always trying to scaffold a flutter project setting up all I need in the project which mostly eats up my productive time
So I decided to build this CLI using Go Lang to always clone the repo that I have already setup and made public. It clones it and run the flutter pub get command to make sure the project is just ready for me to start building apps or anything with flutter instead of trying to setup my folder structure.
- go build -o qp_flutter
- mv qp_flutter /usr/local/bin/
- qp_flutter create test_app -p com.example.app
You can change qp_flutter to what you want, the second step is for moving the build into your local bin folder, this is for Mac OS as of the moment
The last step there is for creating the flutter app with my template that uses Bloc and Cubit as State Management. You will be given a Counter App page that uses Cubit and not SetState