You provide this script with a base folder that contains multiple Flutter projects, and it iterates through each project folder running flutter clean
in each one. Run the script and watch it do its (really simple) magic.
- Download the ZIP file and open PowerShell at the extracted folder.
- Execute the
.ps1
script with.\clean_flutter_projects.ps1
and provide path of the base folder as argument.- Example:
.\clean_flutter_projects.ps1 C:\Users\omar\MyProjects
- Example:
- Download the ZIP file and open terminal at the extracted folder.
- Execute the
.sh
script with./clean_flutter_projects.sh
orsh clean_flutter_projects.sh
and provide the path of the base folder as argument.- Example:
./clean_flutter_projects.sh /Users/omar/MyProjects
- Example: