How rudrankriyam/app-store-connect-cli works
This is a Go command-line client for App Store Connect, with Apple Ads and StoreKit integrations. The principal workflow is a user invoking a command, the CLI dispatching to a domain command, that command using authenticated API clients to read or change Apple-managed resources, and results being rendered for terminal or scripted use. Major command families cover apps, builds and TestFlight, metadata and review, analytics, signing, and release operations. Source excerpts confirm selected calls; README statements support the broader command-to-API workflow, while unsampled subsystem links are omitted.
Main entry points: run.go Command dispatcher · main.go Process entry · apps.go Apps · client_http.go App Store Connect client
Components 19
CLI entry
- Process entry
main.go - Command dispatcher
cmd/run.go - Command output
internal/asc/output_core.go
Command domains
- Apps
internal/cli/apps/apps.go - Builds and TestFlight
internal/cli/builds - Metadata and review
internal/cli/app_events - Analytics
internal/cli/analytics - Release workflows
internal/cli/release/routing_coverage.go - Signing operations
internal/cli/signing/signing_resign_pipeline.go
API and services
- Credential management
internal/auth/keychain.go - App Store Connect client
internal/asc/client_http.go - Apple Ads
internal/appleads/client.go - StoreKit
internal/storekit/client.go - Usage telemetry
internal/telemetry/client.go
Local workflows
- Signing sync
internal/cli/signing/signing_sync_storage.go - Object storage
internal/signing/objectstorage.go - Screenshot review
internal/screenshots/review.go
Other components
- CLI user
- Apple services
Connections 16
- CLI user → Process entry: invokes
README.md - Process entry → Command dispatcher: runs
main.go - Command dispatcher → Apps: dispatches
- Command dispatcher → Builds and TestFlight: dispatches
- Command dispatcher → Metadata and review: dispatches
- Command dispatcher → Analytics: dispatches
- Command dispatcher → Release workflows: dispatches
- Command dispatcher → Signing operations: dispatches
- Apps → App Store Connect client: gets client
internal/cli/apps/apps.go - Release workflows → App Store Connect client: uses client
internal/cli/release/routing_coverage.go - Apps → Command output: prints results
- App Store Connect client → Apple services: API requests
README.md - Apple Ads → Apple services: API requests
internal/appleads/client.go - StoreKit → Apple services: API requests
internal/storekit/client.go - Signing sync → Object storage: creates store
internal/cli/signing/signing_sync_storage.go - Process entry → Usage telemetry: checks worker
main.go