dig_cli 1.1.6 copy "dig_cli: ^1.1.6" to clipboard
dig_cli: ^1.1.6 copied to clipboard

A powerful command-line tool to automate building, cleaning, and packaging Flutter projects.

example/README.md

dig_cli Example #

This directory contains examples of how to use the dig_cli tool.

Installation #

First, install the dig_cli tool globally:

flutter pub global activate dig_cli

Usage Examples #

1. Clean a Flutter Project #

Navigate to any Flutter project and run:

dig clean

This will:

  • Clean Flutter cache and build files
  • Clean iOS workspace, Pods, and DerivedData
  • Clean Android Gradle and build directories
  • Reinstall dependencies

2. Build APK #

In a Flutter project:

dig create build

This will:

  • Build a release APK
  • Name it with project name and timestamp
  • Move it to your Desktop

3. Build App Bundle (AAB) #

In a Flutter project:

dig create bundle

This will:

  • Build a release AAB
  • Name it with project name and timestamp
  • Move it to your Desktop

Example Output #

๐Ÿ•’ Current date: Thursday, July 17, 2025, 10:43 AM IST
๐Ÿš€ Flutter iOS + Android Project Cleaner
โฐ Started at 17-07-2025 10:43 AM IST
๐Ÿ—‚ Current Directory: /path/to/your/project
๐Ÿ“ฆ Pre-caching Flutter iOS artifacts...
๐Ÿงน Cleaning Flutter...
๐Ÿ“ฆ Getting Dart packages...
๐Ÿงผ iOS: Cleaning workspace, Pods, build, symlinks...
๐Ÿ“ฅ Installing CocoaPods...
๐Ÿงผ Android: Removing build and cache directories...
โœ… All Clean! Flutter, iOS & Android project reset complete.

File Naming Convention #

Builds are automatically named with the following format:

  • APK: {project_name}-{dd-mm-yyyy}-{hh.mmAM}.apk
  • AAB: {project_name}-{dd-mm-yyyy}-{hh.mmAM}.aab

Example: myapp-17-07-2025-10.43AM.apk

3
likes
160
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful command-line tool to automate building, cleaning, and packaging Flutter projects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ansicolor, archive, args, http, path, pub_semver, yaml

More

Packages that depend on dig_cli