[PR #499] [MERGED] Add asc init flow for ASC.md docs (refresh) #573

Closed
opened 2026-02-26 22:31:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/499
Author: @rudrankriyam
Created: 2/11/2026
Status: Merged
Merged: 2/11/2026
Merged by: @rudrankriyam

Base: mainHead: cursor/asc-init-docs-refresh-9f3a


📝 Commits (2)

  • ba871cb add asc init flow for ASC.md docs
  • 13d5f51 fix ASC template coverage for command/flag sync

📊 Changes

13 files changed (+1580 additions, -0 deletions)

View changed files

📝 AGENTS.md (+2 -0)
ASC.md (+178 -0)
📝 CLAUDE.md (+1 -0)
📝 README.md (+1 -0)
internal/cli/cmdtest/docs_init_test.go (+461 -0)
internal/cli/docs/docs.go (+41 -0)
internal/cli/docs/docs_init.go (+399 -0)
internal/cli/docs/docs_init_test.go (+121 -0)
internal/cli/docs/template.go (+6 -0)
internal/cli/docs/template_sync_test.go (+141 -0)
internal/cli/docs/templates/ASC.md (+178 -0)
internal/cli/initcmd/init.go (+47 -0)
📝 internal/cli/registry/registry.go (+4 -0)

📄 Description

Summary

  • re-land the asc init / asc docs init feature from #422 on top of current main to avoid stale branch drift and merge conflicts
  • add embedded ASC.md template generation plus safe link insertion for AGENTS.md and CLAUDE.md
  • register new init and docs commands, add unit + cmdtest coverage, and wire docs references in README.md
  • supersedes #422, which is now closed and kept as historical reference

Test plan

  • make format
  • make lint
  • make test
  • go test ./internal/cli/docs ./internal/cli/cmdtest -run "DocsInit|Init"
  • go build -o /tmp/asc-pr422-refresh .

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/499 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/11/2026 **Status:** ✅ Merged **Merged:** 2/11/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `cursor/asc-init-docs-refresh-9f3a` --- ### 📝 Commits (2) - [`ba871cb`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/ba871cb1ce6e22a621b62cebe999fa0b06ebe9fa) add asc init flow for ASC.md docs - [`13d5f51`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/13d5f517cb93c485b4ed6a6ab338573feca02573) fix ASC template coverage for command/flag sync ### 📊 Changes **13 files changed** (+1580 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `AGENTS.md` (+2 -0) ➕ `ASC.md` (+178 -0) 📝 `CLAUDE.md` (+1 -0) 📝 `README.md` (+1 -0) ➕ `internal/cli/cmdtest/docs_init_test.go` (+461 -0) ➕ `internal/cli/docs/docs.go` (+41 -0) ➕ `internal/cli/docs/docs_init.go` (+399 -0) ➕ `internal/cli/docs/docs_init_test.go` (+121 -0) ➕ `internal/cli/docs/template.go` (+6 -0) ➕ `internal/cli/docs/template_sync_test.go` (+141 -0) ➕ `internal/cli/docs/templates/ASC.md` (+178 -0) ➕ `internal/cli/initcmd/init.go` (+47 -0) 📝 `internal/cli/registry/registry.go` (+4 -0) </details> ### 📄 Description ## Summary - re-land the `asc init` / `asc docs init` feature from #422 on top of current `main` to avoid stale branch drift and merge conflicts - add embedded `ASC.md` template generation plus safe link insertion for `AGENTS.md` and `CLAUDE.md` - register new `init` and `docs` commands, add unit + cmdtest coverage, and wire docs references in `README.md` - supersedes #422, which is now closed and kept as historical reference ## Test plan - [x] `make format` - [x] `make lint` - [x] `make test` - [x] `go test ./internal/cli/docs ./internal/cli/cmdtest -run "DocsInit|Init"` - [x] `go build -o /tmp/asc-pr422-refresh .` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:31:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#573
No description provided.