pub async fn execute_status(
args: &StatusArgs,
config_service: &dyn ConfigService,
) -> Result<()>Expand description
Handle the cache status subcommand.
Loads cache metadata from disk and prints a summary of its location,
size, age, AI model, operation count, configuration fingerprint,
snapshot freshness, and whether a journal exists. Supports a
machine-readable --json output mode for scripting.
When no cache file is present, a friendly message is printed and the
function returns Ok(()) without error.
ยงArguments
args- Parsedcache statusarguments controlling output format.config_service- Active configuration service, used to recompute the configuration hash for comparison against the cached value.