Inspect or manage the platformdirs-managed nxp_monkey cache.
nxp-monkey cache path
nxp-monkey cache size
nxp-monkey cache clear [--scope SCOPE]
| Action | Effect |
|---|---|
| path | Print the cache root directory. |
| size | Print total cache size in bytes and human form. |
| clear --scope SCOPE | Remove cached content. SCOPE is all, versions, index, or a specific tool version like 25.12.10. |
See ADR-0006 for the full directory contract.
With the global --json flag, cache writes
cache.json to the working directory (action result: path,
size summary, or clear summary) and prints that path on stdout.
nxp_monkey.cache_path()
nxp_monkey.cache_size()
nxp_monkey.cache_clear(scope="all")
tests/L0_public_cli/test_cache_cli.pytests/L3_public_workflows/test_cache.py