dig_cli 1.7.4
dig_cli: ^1.7.4 copied to clipboard
A powerful command-line tool to automate building, cleaning, and packaging Flutter projects.
Changelog #
All notable changes to this project will be documented in this file.
1.7.4 - 2026-03-20 #
Added #
dg pub-cache: Register and document the pub cache repair command (flutter pub cache repair); it was previously implemented but not wired into the CLI or interactive flow.
Changed #
- Interactive dashboard: Category → action navigation with a single bordered card per screen (same 50-column style as
dg version),╠divider between header and actions, and prompts outside the box. Submenus use 0 · Back where appropriate. - Logging / terminals:
kLogrespectsNO_COLOR,TERM=dumb, and non-TTY stdout viakAnsiStdoutEnabledso output stays readable when piped or in minimal environments.
Removed #
- Stray
lib/src/commands/asset_command.dart.bakfrom the repository.
1.7.3 - 2026-03-19 #
Added #
- Beta/Dev Update (Option 16): New interactive menu option to check for and install pre-release (dev/beta) versions directly from the CLI dashboard.
Fixed #
- Localization Files Preserved: Asset generation now only cleans
lib/generated/assets/instead of the entirelib/generated/directory, preserving localization files and other generated code. - Numeric Asset Filenames: Files starting with a number (e.g.,
4.png) now generate valid Dart constants withicprefix (e.g.,ic4) instead of producing invalid identifiers that break compilation. - Pubspec Stale Entry Cleanup: Deleted asset folders are now automatically removed from the
pubspec.yamlassets section. Only entries within the configuredassets-dirare managed —.env, localization paths, and other manually-added entries are never touched. - Space in Filenames: Asset filenames containing spaces (e.g.,
my image.png) are properly converted to camelCase constants (myImage).
1.7.2 - 2026-03-19 #
Added #
- Categorized Developer Dashboard: The interactive menu is organized into sections: BUILD & RELEASE, CLEAN & FIX, SIGNING & KEYS, CONFIGURATION, PROJECT MANAGEMENT, and UTILITIES.
- Enhanced Author Branding: Prominent author branding on the main dashboard and version command.
- Fast Clean (Option 4): Dedicated option for a simple
flutter clean. - Full Project Reset (Option 5): Thorough cleanup (
flutter clean,pub get,pod installon macOS) with an optional global cache wipe. - One-click Update (Option 15): Check pub.dev and run
dart pub global activatewhen a newer stable version exists. - Firebase Command Suite:
dg firebasewithlogin,logout,configure, andchecksubcommands. - Firebase Auto-Installer: Detection and installation of
firebase-toolsandflutterfire_cli. - Hash Key Generation: Base64-encoded SHA1 hash keys for Android (Facebook/Google login flows).
- Firebase Account Display: Interactive Firebase sub-menu shows the logged-in email when available.
- Pubspec Automation:
dg asset buildregisters new asset folders and.envinpubspec.yaml.
Fixed #
- Assets Generation: Invalid Dart identifiers for numeric file names (e.g.
String 6) fixed by auto-prefixing. - Assets Cleanup: Deleted assets no longer leave stale generated Dart code;
lib/generatedis refreshed on each build. - Pubspec Formatter: Asset generator no longer skips the end of the
assets:section when multiple subsections exist. - Console UI: Improved interactive menu readability on dark terminals (blue → cyan).
- Ultra-Robust Firebase Detection: Reads the official Firebase config for login status.
- Smart iOS Cleanup: Full reset checks for a
Podfilebefore running CocoaPods. - Cross-Platform Watching: Uses
package:watcherfor asset watching on Ubuntu, Windows, and macOS. - JKS Portability:
create-jksuses relativestoreFilepaths inkey.properties.
1.7.0 - 2026-02-25 #
Initial Release #
- Smart Scaffolding: Bootstrap a "Proper" Flutter Project with dynamic app name injection, pre configured GetX architecture, and best practices.
- UIScene & SceneDelegate: Full support for the modern iOS
UIScenelifecycle by default. - Firebase Robustness: 100% crash-proof initial launch with pre-configured, commented-out Firebase initializers for easy setup.
- Asset Generation: Subfolder-based, type-safe asset constants generation with
dg asset build/watch. - Dependency Management: Native Swift Package Manager (SPM) integration for iOS, eliminating CocoaPods friction.
- Module Creator: Automated GetX scaffolding (
View,Controller,Binding) with auto-routing. - Deep Rename: One-command smart renaming for Android, iOS, macOS, Windows, Linux, and Web.
- Security: Automatic JKS generation and secure
.envAPI key injection. - Deep Clean: A "nuclear" clean command that wipes caches across all platforms.
- Notification Services: Pre-integrated, align with official best practices, and controllable via bindings.
- Documentation: Professional
README.mdand comprehensive asset generation guides.