Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gplay
command
|
|
|
commands
|
|
|
apps/addcmd
Package addcmd implements `gplay apps add`: register an Android package under the active Account, with a cheap edits.insert+delete access probe (skippable via --no-verify) so typos and missing per-app permission grants are caught at registration time rather than weeks later in CI.
|
Package addcmd implements `gplay apps add`: register an Android package under the active Account, with a cheap edits.insert+delete access probe (skippable via --no-verify) so typos and missing per-app permission grants are caught at registration time rather than weeks later in CI. |
|
apps/infocmd
Package infocmd implements `gplay apps info`: a read-only sanity check on what the active service account sees for a given app.
|
Package infocmd implements `gplay apps info`: a read-only sanity check on what the active service account sees for a given app. |
|
apps/initcmd
Package initcmd implements `gplay init`: pin a package name to the current repo by writing .gplay/config.json (committed) and an adjacent .gplay/.gitignore.
|
Package initcmd implements `gplay init`: pin a package name to the current repo by writing .gplay/config.json (committed) and an adjacent .gplay/.gitignore. |
|
apps/listcmd
Package listcmd implements `gplay apps list`: print every Android package registered under the active Account, marking the one pinned by the current repo's .gplay/config.json.
|
Package listcmd implements `gplay apps list`: print every Android package registered under the active Account, marking the one pinned by the current repo's .gplay/config.json. |
|
apps/removecmd
Package removecmd implements `gplay apps remove`: drop an Android package from the active Account's local registry.
|
Package removecmd implements `gplay apps remove`: drop an Android package from the active Account's local registry. |
|
auth/doctor
Package doctor implements `gplay auth doctor`: ordered diagnostic checks (per docs/DESIGN.md §1) that catch credential misconfiguration before any other command tries to talk to the API.
|
Package doctor implements `gplay auth doctor`: ordered diagnostic checks (per docs/DESIGN.md §1) that catch credential misconfiguration before any other command tries to talk to the API. |
|
auth/list
Package list implements `gplay auth list`: print every registered Account with the active one marked.
|
Package list implements `gplay auth list`: print every registered Account with the active one marked. |
|
auth/login
Package login implements `gplay auth login`: register a service-account JSON as a named Account in the keystore and mark it active in the config.
|
Package login implements `gplay auth login`: register a service-account JSON as a named Account in the keystore and mark it active in the config. |
|
auth/logout
Package logout implements `gplay auth logout <name>`: remove a registered Account from both the config and the keystore.
|
Package logout implements `gplay auth logout <name>`: remove a registered Account from both the config and the keystore. |
|
auth/status
Package status implements `gplay auth status`: print which Account is active, the underlying client_email, the keystore backend in use, and (when applicable) the on-disk credential path.
|
Package status implements `gplay auth status`: print which Account is active, the underlying client_email, the keystore backend in use, and (when applicable) the on-disk credential path. |
|
releases/list
Package list implements `gplay releases list`: a read-only listing of every release currently attached to a track (draft, inProgress, halted, completed).
|
Package list implements `gplay releases list`: a read-only listing of every release currently attached to a track (draft, inProgress, halted, completed). |
|
releases/promote
Package promote implements `gplay releases promote`: the CLI glue that parses --from/--to plus the status overrides (per ADR-0002), resolves --package, and hands a PromoteOpts payload to internal/releases/orchestrator.
|
Package promote implements `gplay releases promote`: the CLI glue that parses --from/--to plus the status overrides (per ADR-0002), resolves --package, and hands a PromoteOpts payload to internal/releases/orchestrator. |
|
releases/rollout
Package rollout implements the staged-rollout state machine as four sibling commands — `gplay releases rollout / halt / resume / complete`.
|
Package rollout implements the staged-rollout state machine as four sibling commands — `gplay releases rollout / halt / resume / complete`. |
|
releases/upload
Package upload implements `gplay releases upload`: the CLI glue that resolves --package, parses the status flags (per ADR-0002), and hands an Opts payload to internal/releases/orchestrator.
|
Package upload implements `gplay releases upload`: the CLI glue that resolves --package, parses the status flags (per ADR-0002), and hands an Opts payload to internal/releases/orchestrator. |
|
reviews/list
Package list implements `gplay reviews list`: a read-only listing of the user reviews the Google Play API exposes for a package.
|
Package list implements `gplay reviews list`: a read-only listing of the user reviews the Google Play API exposes for a package. |
|
reviews/reply
Package reply implements `gplay reviews reply`: post developer responses to user reviews, one at a time (--review-id + --reply) or in bulk from a TSV stream (--batch <file>|-).
|
Package reply implements `gplay reviews reply`: post developer responses to user reviews, one at a time (--review-id + --reply) or in bulk from a TSV stream (--batch <file>|-). |
|
reviews/reviewerr
Package reviewerr maps the two operator-facing failures of the Reviews API — a service account lacking the "Reply to reviews" permission (403) and an unknown package (404) — to actionable, hinted errors.
|
Package reviewerr maps the two operator-facing failures of the Reviews API — a service account lacking the "Reply to reviews" permission (403) and an unknown package (404) — to actionable, hinted errors. |
|
tracks/list
Package list implements `gplay tracks list`: a read-only, cross-track listing of every track configured for a package — the four standard tracks (internal, alpha, beta, production) plus any custom closed tracks the service account can see — with a one-line summary of the top release on each.
|
Package list implements `gplay tracks list`: a read-only, cross-track listing of every track configured for a package — the four standard tracks (internal, alpha, beta, production) plus any custom closed tracks the service account can see — with a one-line summary of the top release on each. |
|
tracks/status
Package status implements `gplay tracks status`: a read-only, deep view of a single track tuned for the "is something wrong right now?" question.
|
Package status implements `gplay tracks status`: a read-only, deep view of a single track tuned for the "is something wrong right now?" question. |
|
internal
|
|
|
apps/registry
Package registry is the pure-data registry of Android package names known to each gplay Account.
|
Package registry is the pure-data registry of Android package names known to each gplay Account. |
|
auth/doctor
Package doctor runs ordered diagnostic checks against a resolved service-account credential and reports a structured result per check.
|
Package doctor runs ordered diagnostic checks against a resolved service-account credential and reports a structured result per check. |
|
auth/keystore
Package keystore stores service-account JSON credentials by name.
|
Package keystore stores service-account JSON credentials by name. |
|
auth/resolver
Package resolver picks the credential the next API call will use.
|
Package resolver picks the credential the next API call will use. |
|
auth/serviceaccount
Package serviceaccount loads and validates Google Cloud service-account JSON files.
|
Package serviceaccount loads and validates Google Cloud service-account JSON files. |
|
auth/token
Package token mints OAuth2 access tokens for the Google Play Developer API from a parsed service account.
|
Package token mints OAuth2 access tokens for the Google Play Developer API from a parsed service account. |
|
config
Package config owns gplay's cascading configuration model.
|
Package config owns gplay's cascading configuration model. |
|
exit
Package exit maps typed errors to the semantic exit codes documented in docs/DESIGN.md §9.
|
Package exit maps typed errors to the semantic exit codes documented in docs/DESIGN.md §9. |
|
kernel
Package kernel owns the per-invocation boot sequence shared by every gplay command: build the Boot once in cmd/gplay/main.go, the cobra layer captures the request-shaped Inputs, and kernel.Run resolves Account / Project / Format once before handing a populated RunContext to the command's business function.
|
Package kernel owns the per-invocation boot sequence shared by every gplay command: build the Boot once in cmd/gplay/main.go, the cobra layer captures the request-shaped Inputs, and kernel.Run resolves Account / Project / Format once before handing a populated RunContext to the command's business function. |
|
output
Package output owns Format selection and rendering dispatch for gplay commands.
|
Package output owns Format selection and rendering dispatch for gplay commands. |
|
output/outputtest
Package outputtest is the test-only seam for internal/output.
|
Package outputtest is the test-only seam for internal/output. |
|
play/api
Package api owns the shared low-level concerns of every internal/play/* module: the canonical androidpublisher base URLs, the per-response body-size caps, and the HTTP status → gplay exit-code mapping plus the API error-envelope parser.
|
Package api owns the shared low-level concerns of every internal/play/* module: the canonical androidpublisher base URLs, the per-response body-size caps, and the HTTP status → gplay exit-code mapping plus the API error-envelope parser. |
|
play/bundles
Package bundles uploads an AAB to a specific Edit via the edits.bundles.upload endpoint.
|
Package bundles uploads an AAB to a specific Edit via the edits.bundles.upload endpoint. |
|
play/details
Package details reads app-level metadata.
|
Package details reads app-level metadata. |
|
play/edits
Package edits owns the Google Play Edit transactional lifecycle.
|
Package edits owns the Google Play Edit transactional lifecycle. |
|
play/reviews
Package reviews reads the user reviews of a Google Play app via the reviews.list endpoint.
|
Package reviews reads the user reviews of a Google Play app via the reviews.list endpoint. |
|
play/tracks
Package tracks reads and updates the release configuration of Google Play tracks within an open Edit.
|
Package tracks reads and updates the release configuration of Google Play tracks within an open Edit. |
|
releases/notes
Package notes loads release notes from CLI input — either a single text string (assigned to the app's default language) or a directory of per-locale files (`<locale>.txt`) with an optional `default.txt` fallback for the default language.
|
Package notes loads release notes from CLI input — either a single text string (assigned to the app's default language) or a directory of per-locale files (`<locale>.txt`) with an optional `default.txt` fallback for the default language. |
|
releases/orchestrator
Package orchestrator owns the choreography of `gplay releases upload`: open an Edit, upload the AAB, attach the resulting versionCode to the target track, and commit the Edit.
|
Package orchestrator owns the choreography of `gplay releases upload`: open an Edit, upload the AAB, attach the resulting versionCode to the target track, and commit the Edit. |
|
reviews/batch
Package batch parses the TSV stream consumed by `gplay reviews reply --batch`: one `<review-id>\t<reply text>` record per line.
|
Package batch parses the TSV stream consumed by `gplay reviews reply --batch`: one `<review-id>\t<reply text>` record per line. |
|
reviews/filter
Package filter implements the client-side `--stars` selector for `gplay reviews list`.
|
Package filter implements the client-side `--stars` selector for `gplay reviews list`. |
|
transport
Package transport exposes the HTTP middleware gplay layers on top of the oauth2 client.
|
Package transport exposes the HTTP middleware gplay layers on top of the oauth2 client. |
|
walkup
Package walkup walks up from a starting directory looking for a file, mirroring git's `.git/` discovery.
|
Package walkup walks up from a starting directory looking for a file, mirroring git's `.git/` discovery. |
Click to show internal directories.
Click to hide internal directories.