[PR #422] [CLOSED] Add asc init flow for ASC.md docs #515

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

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/422
Author: @rudrankriyam
Created: 2/5/2026
Status: Closed

Base: mainHead: asc-init-docs


📝 Commits (9)

  • 1cf2e89 Add init flow for ASC.md docs
  • ef2f1f4 Fix docs init link root
  • a128ad8 Merge pull request #423 from rudrankriyam/cursor/agent-files-link-root-0e3a
  • c8baddb Fix docs init path validation
  • f814d53 Merge pull request #424 from rudrankriyam/cursor/docs-path-resolution-320b
  • ccf3a60 Harden docs init output path validation
  • 7bf8425 Fix agent file links when --path targets a subdirectory
  • d615ba9 Fix docs init legacy ASC link rewrites for subdirectory paths
  • 6d6b6f6 Merge pull request #477 from rudrankriyam/cursor/subdirectory-agent-links-c2da

📊 Changes

12 files changed (+1433 additions, -0 deletions)

View changed files

ASC.md (+175 -0)
📝 Agents.md (+2 -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/templates/ASC.md (+175 -0)
internal/cli/initcmd/init.go (+47 -0)
📝 internal/cli/registry/registry.go (+4 -0)

📄 Description

Summary

  • add asc init as a shortcut for generating ASC.md and linking agent files
  • keep asc docs init as the underlying generator and expose a reusable init helper
  • ship the embedded ASC.md template plus tests and documentation updates

Test plan

  • go test ./internal/cli/cmdtest -run 'DocsInit|InitCreatesReferenceAndLinks|InitRequiresForceToOverwrite'

🔄 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/422 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `asc-init-docs` --- ### 📝 Commits (9) - [`1cf2e89`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/1cf2e894a1d0ed0ec4b0dca38f6f3447ea9f4420) Add init flow for ASC.md docs - [`ef2f1f4`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/ef2f1f4b9523280b6e9632bbb7c2161e973cd577) Fix docs init link root - [`a128ad8`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/a128ad85f3248a86a9b97872c63ef547bfdda97b) Merge pull request #423 from rudrankriyam/cursor/agent-files-link-root-0e3a - [`c8baddb`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/c8baddbf4d61d5c1543326d5bed5b12e57ed3b19) Fix docs init path validation - [`f814d53`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/f814d53a6bd416439269a5d70ee36d1053933e9b) Merge pull request #424 from rudrankriyam/cursor/docs-path-resolution-320b - [`ccf3a60`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/ccf3a60adc2d4749a16e43305795116879f5f6a4) Harden docs init output path validation - [`7bf8425`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/7bf8425f3c87eba745f6fe60a0578e37e8332529) Fix agent file links when --path targets a subdirectory - [`d615ba9`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/d615ba95457965133b3a3388f05a1f3547959565) Fix docs init legacy ASC link rewrites for subdirectory paths - [`6d6b6f6`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/6d6b6f657a6de4a55b72e474699b1d8ff2dfb0a0) Merge pull request #477 from rudrankriyam/cursor/subdirectory-agent-links-c2da ### 📊 Changes **12 files changed** (+1433 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `ASC.md` (+175 -0) 📝 `Agents.md` (+2 -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/templates/ASC.md` (+175 -0) ➕ `internal/cli/initcmd/init.go` (+47 -0) 📝 `internal/cli/registry/registry.go` (+4 -0) </details> ### 📄 Description ## Summary - add `asc init` as a shortcut for generating `ASC.md` and linking agent files - keep `asc docs init` as the underlying generator and expose a reusable init helper - ship the embedded `ASC.md` template plus tests and documentation updates ## Test plan - [x] `go test ./internal/cli/cmdtest -run 'DocsInit|InitCreatesReferenceAndLinks|InitRequiresForceToOverwrite'` --- <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:19 +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#515
No description provided.