Skip to content

feat(cli): cache --json output and clean confirmation - #236

Merged
ulises-jeremias merged 1 commit into
mainfrom
feat/issue-228-229-cache-json-confirm
Jul 22, 2026
Merged

feat(cli): cache --json output and clean confirmation#236
ulises-jeremias merged 1 commit into
mainfrom
feat/issue-228-229-cache-json-confirm

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

Summary

  • Add --json to cache list, clean, verify, outdated, and doctor
  • Prompt before full cache clean on a TTY; skip with --json / --force
  • In non-TTY without --json/--force, warn and abort (CNA parity)

Test plan

  • uv run pytest packages/create-awesome-python-app/tests/test_cache_cmds.py
  • create-awesome-python-app cache list --json
  • create-awesome-python-app cache clean on a TTY (cancel + confirm)

Closes#228
Closes#229

Made with Cursor

Machine-readable --json for list/clean/verify/outdated/doctor, plus an
interactive confirm before wiping the full cache (CNA parity).
Closes#228Closes#229
Co-authored-by: Cursor <cursoragent@cursor.com>
@ulises-jeremias
ulises-jeremias merged commit 16f293c into mainJul 22, 2026
13 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.

Add interactive confirmation before cache clean Add --json output support to cache subcommands

1 participant

@ulises-jeremias