gplay bundles
gplay bundles
Section titled “gplay bundles”Manage app bundles in an edit.
gplay bundles <subcommand> [flags]gplay bundles upload
Section titled “gplay bundles upload”Upload an app bundle to an edit.
gplay bundles upload --package <name> --edit <id> --file <path>| Flag | Description | Default |
|---|---|---|
--edit |
Edit ID | `` |
--file |
Path to .aab file | `` |
--output |
Output format: json (default), table, markdown | json |
--package |
Package name (applicationId) | `` |
--pretty |
Pretty-print JSON output | false |
gplay bundles list
Section titled “gplay bundles list”List app bundles in an edit.
gplay bundles list --package <name> --edit <id>| Flag | Description | Default |
|---|---|---|
--edit |
Edit ID | `` |
--output |
Output format: json (default), table, markdown | json |
--package |
Package name (applicationId) | `` |
--pretty |
Pretty-print JSON output | false |
gplay bundles analyze
Section titled “gplay bundles analyze”Analyze a local AAB/APK: size per module, bucket, and largest files.
gplay bundles analyze --file <app.aab>Analyze an AAB/APK offline (no Play API calls).
The analyzer parses the archive’s ZIP structure and groups entries into buckets (dex/resources/native/assets/etc.) and AAB modules. Use –top-files to surface the largest individual entries.
| Flag | Description | Default |
|---|---|---|
--file |
Path to .aab or .apk (required) | `` |
--output |
Output format: json (default), table, markdown | json |
--pretty |
Pretty-print JSON output | false |
--top-files |
Number of largest individual files to include | 20 |
gplay bundles compare
Section titled “gplay bundles compare”Diff two AAB/APK files and flag size regressions.
gplay bundles compare --base <a.aab> --candidate <b.aab> [--threshold 2M]Diff two AAB/APK files and flag size regressions for CI.
When –threshold is set, exits non-zero if the uncompressed delta exceeds it.
| Flag | Description | Default |
|---|---|---|
--base |
Baseline AAB/APK (required) | `` |
--candidate |
Candidate AAB/APK (required) | `` |
--output |
Output format: json (default), table, markdown | json |
--pretty |
Pretty-print JSON output | false |
--threshold |
Regression threshold in bytes (e.g. 500K, 2M, 1G) | `` |