0 purchases
cf cli
English
简体中文
cf(Clean Flutter) #
Clean up the [build, ios/Pods] directory of Flutter projects in batches, optimize computer space, and practice Dart CLI
Install & Update #
Dart activate
dart pub global activate cf_cli
copied to clipboard
Git source
dart pub global activate -sgit https://github.com/yy1300326388/clear_flutter_build.git
copied to clipboard
Run cleanup #
Cleanup build
➜ cf
🚀 Cleanup mode:build
🎉 All cleaned up
copied to clipboard
Cleanup ios/Pods
➜ cf -m pods
🚀 Cleanup mode:pods
🎉 All cleaned up
copied to clipboard
Cleanup build 和 ios/Pods
➜ cf -m all
🚀 Cleanup mode:all
🎉 All cleaned up
copied to clipboard
Get the version
➜ cf -v
🚀 CF Version:1.1.0
🐦 Dart:2.15.0 (stable) (Fri Dec 3 14:23:23 2021 +0100) on "macos_x64"
💻 OS:Version 12.0.1 (Build 21A559)
copied to clipboard
Help description
➜ cf -h
-m, --mode 🚀 Set the cleanup mode build is the build folder, pods is the ios/Pods folder, all folders
[build (default), pods, all]
-v, --[no-]version 📦️ Get the version
-h, --[no-]help 💡 Help description
copied to clipboard
My cleanup results #
Before
After
CleanMyMac can’t save me, so I wrote the cf_cli tool
Buy me coffee #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.