gpc-cli-usage

Guidance for using the Play Console CLI (gpc) — flags, output formats, auth profiles, pagination, and safety conventions. Use when asked to run or design gpc commands.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gpc-cli-usage" with this command: npx skills add androidpoet/playconsole-cli-skills/androidpoet-playconsole-cli-skills-gpc-cli-usage

GPC CLI Usage

Use this skill when you need to run or design gpc commands for Google Play Console workflows.

Command discovery

Always confirm commands and flags before running:

gpc --help
gpc tracks --help
gpc bundles upload --help

Flag conventions

  • Use explicit long flags: --package, --track, --output.
  • No interactive prompts; destructive operations require --confirm.
  • Short aliases: -p (package), -o (output), -q (quiet).

Output formats

Default output is minified JSON. Available formats:

gpc apps list -o json          # Default, machine-readable
gpc apps list -o table         # Human-readable columns
gpc apps list -o yaml          # YAML format
gpc apps list -o csv           # CSV for spreadsheets
gpc apps list -o tsv           # Tab-separated
gpc apps list -o minimal       # Compact output
gpc apps list --pretty         # Pretty-print JSON

Use --pretty for debugging. Use -o json (default) for automation and piping to jq.

Authentication

Configure a profile

gpc auth login --credentials /path/to/service-account.json --name myprofile --default-package com.example.app

Switch profiles

gpc auth list
gpc auth current
gpc auth switch --name otherprofile

Environment variables for CI

VariablePurpose
GPC_CREDENTIALS_PATHPath to service account JSON
GPC_CREDENTIALS_B64Base64-encoded credentials
GPC_PACKAGEDefault package name
GPC_PROFILEDefault auth profile
GPC_OUTPUTDefault output format

Diagnostics

gpc doctor              # Check config, credentials, API access
gpc doctor --verbose    # Detailed diagnostic output

Global flags

FlagShortDescription
--package-pApp package name (or GPC_PACKAGE)
--output-oOutput format (json, table, yaml, csv, tsv, minimal)
--prettyPretty-print JSON
--quiet-qSuppress non-essential output
--debugShow API requests/responses
--dry-runPreview without applying changes
--timeoutRequest timeout (default 60s)
--profileAuth profile name

Safety

  • Use --dry-run before destructive operations.
  • Use --confirm flags explicitly; never pipe yes into commands.
  • Check gpc doctor before troubleshooting auth issues.

Agent behavior

  • Always pass --package explicitly unless GPC_PACKAGE is confirmed set.
  • Prefer --output json for parsing; use --output table when showing results to the user.
  • Run gpc doctor first if auth errors occur.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

gpc-monetization

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gpc-metadata-sync

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

Funnel Builder

Builds complete multi-channel revenue funnels adapted to any business model. Combines proven frameworks from elite operators: Yomi Denzel's viral top-of-funn...

Registry SourceRecently Updated
Coding

Decode

Decode - command-line tool for everyday use

Registry SourceRecently Updated