nxp-monkey cache

design / cli / cache

Purpose

Inspect or manage the platformdirs-managed nxp_monkey cache.

Usage

nxp-monkey cache path
nxp-monkey cache size
nxp-monkey cache clear [--scope SCOPE]

Actions

ActionEffect
pathPrint the cache root directory.
sizePrint total cache size in bytes and human form.
clear --scope SCOPERemove cached content. SCOPE is all, versions, index, or a specific tool version like 25.12.10.

Layout

See ADR-0006 for the full directory contract.

--json mode

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.

Library equivalent

nxp_monkey.cache_path()
nxp_monkey.cache_size()
nxp_monkey.cache_clear(scope="all")

Tests