Skip to content

fix(cli): resolve catalog slugs to template/extension URLs - #173

Merged
ulises-jeremias merged 3 commits into
mainfrom
feat/issue-160-catalog-slug-resolution
Jul 16, 2026
Merged

fix(cli): resolve catalog slugs to template/extension URLs#173
ulises-jeremias merged 3 commits into
mainfrom
feat/issue-160-catalog-slug-resolution

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

Summary

  • Resolves template and extension slugs via templates.json before calling core (parity with CNA options.ts)
  • Fixes file:// catalog URLs that point directly at a templates.json file
  • Adds unit + integration tests for slug-based scaffold (fastapi-starter, github-setup)

Closes#160
Closes#161

Test plan

  • uv run pytest packages/create-awesome-python-app/tests/test_catalog_resolve.py
  • CPA_TEMPLATES_ROOT=... uv run pytest packages/create-awesome-python-app/tests/test_cpa_templates_integration.py
  • CI green on PR

Next (separate PRs)

Made with Cursor

ulises-jeremiasand others added 2 commits July 16, 2026 12:55
…ffold
Closes#160 and #161. Mirrors CNA options.ts slug lookup so
--template fastapi-starter and --addons github-setup work end-to-end.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ulises-jeremias
ulises-jeremias merged commit 5c95043 into mainJul 16, 2026
9 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P0] Integration tests: scaffold via catalog slugs (not only file:// URLs) [P0] Resolve catalog slugs to template/extension URLs before scaffold

1 participant

@ulises-jeremias