Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gplay
command
|
|
|
commands
|
|
|
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. |
|
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. |
|
internal
|
|
|
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. |
|
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.