mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #677] [MERGED] feat: add account status and weekly insights commands #704
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#704
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/677
Author: @rudrankriyam
Created: 2/20/2026
Status: ✅ Merged
Merged: 2/20/2026
Merged by: @rudrankriyam
Base:
main← Head:feat/account-insights-weekly📝 Commits (10+)
e7958f7feat: add account status and weekly insights commands3e640d5feat: complete #657 command and status UX gapse50d396docs: require keychain bypass for all test runsfdd83c2Fix insights sales report_rows availability handlingd2526daMerge pull request #678 from rudrankriyam/cursor/insights-metrics-reporting-64c21bf053ecmdtest: reuse shared JSON response helperda7d407Merge pull request #679 from rudrankriyam/cursor/test-helper-duplication-71036f3f90crefactor shared section rendering and fix READY_FOR_REVIEW state symbolc51936cMerge pull request #681 from rudrankriyam/cursor/cli-code-refinements-e449780ccb4feat: add renewal-focused insights daily and sales v1_3 support📊 Changes
21 files changed (+2998 additions, -104 deletions)
View changed files
📝
AGENTS.md(+4 -1)📝
cmd/root_usage.go(+3 -3)📝
cmd/run_additional_test.go(+1 -1)📝
internal/asc/analytics.go(+1 -0)➕
internal/cli/account/account.go(+291 -0)➕
internal/cli/account/account_test.go(+41 -0)📝
internal/cli/analytics/analytics_helpers.go(+16 -1)📝
internal/cli/analytics/analytics_helpers_test.go(+44 -0)📝
internal/cli/analytics/analytics_sales.go(+3 -2)➕
internal/cli/cmdtest/account_status_test.go(+187 -0)➕
internal/cli/cmdtest/doctor_test.go(+41 -0)➕
internal/cli/cmdtest/insights_test.go(+749 -0)📝
internal/cli/cmdtest/status_test.go(+63 -19)📝
internal/cli/docs/templates/ASC.md(+6 -0)➕
internal/cli/insights/insights.go(+1171 -0)➕
internal/cli/insights/insights_test.go(+96 -0)📝
internal/cli/registry/registry.go(+5 -0)📝
internal/cli/registry/registry_test.go(+1 -1)📝
internal/cli/shared/shared.go(+23 -0)📝
internal/cli/status/status.go(+204 -75)...and 1 more files
📄 Description
Summary
asc account statuswith structured account health checks (authentication, API access probe, agreements availability) and JSON/table/markdown output.asc insights weeklywith required--app,--source, and--week, deterministic week-range metadata, and source-specific metrics foranalyticsandsales.Test plan
make formatmake lintASC_BYPASS_KEYCHAIN=1 make testASC_BYPASS_KEYCHAIN=1 /tmp/asc account status --output jsonASC_BYPASS_KEYCHAIN=1 /tmp/asc insights weekly --app "$ASC_APP_ID" --source analytics --week "2026-02-16" --output jsonASC_BYPASS_KEYCHAIN=1 /tmp/asc insights weekly --app "$ASC_APP_ID" --source sales --week "2026-02-16" --vendor "$ASC_VENDOR_NUMBER" --output json🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.