Problem
--list-templates and --list-addons only print human-readable text. Scripts, CI, and the website sync need machine-readable JSON (parity with Create-Node-App #230).
Solution
- Add a
--json flag on the CLI.
- When combined with
--list-templates / --list-addons, emit valid JSON (array/object) parseable by jq.
- Keep the default human-readable format unchanged.
- Add a small unit/integration test.
Acceptance criteria
Files
packages/create-awesome-python-app/ CLI entry + list helpers
- matching tests under
packages/
Problem
--list-templatesand--list-addonsonly print human-readable text. Scripts, CI, and the website sync need machine-readable JSON (parity with Create-Node-App #230).Solution
--jsonflag on the CLI.--list-templates/--list-addons, emit valid JSON (array/object) parseable byjq.Acceptance criteria
create-awesome-python-app --list-templates --json | jq .succeedscreate-awesome-python-app --template fastapi-starter --list-addons --json | jq .succeedsFiles
packages/create-awesome-python-app/CLI entry + list helperspackages/