CLICommands
cacheLast updated on
Last updated on
Manage registry cache
Manages the registry data cache used to speed up registry operations.
Usage
paradoc cache <command> [options]Subcommands
| Command | Description |
|---|---|
clear | Clear all cached registry data |
stats | Show cache statistics (alias: info) |
invalidate | Invalidate cache for a specific registry |
config | Show current cache configuration |
reset | Reset cache configuration to defaults |
cache clear
Clear all cached registry data.
paradoc cache clearOutput
✓ Cleared 12 cached entriescache stats
Show cache statistics.
paradoc cache stats [options]paradoc cache info is an alias.
Options
| Option | Description |
|---|---|
--json | Output as JSON |
Output
Cache Statistics
Directory: ~/.paradoc/cache
Default TTL: 1h
Disk entries: 12
Total size: 45.2 KBcache invalidate
Invalidate cache for a specific registry.
paradoc cache invalidate <namespace>Arguments
| Argument | Description |
|---|---|
namespace | Registry namespace to invalidate (e.g., @acme) |
Example
paradoc cache invalidate @acmecache config
Show current cache configuration.
paradoc cache config [options]Options
| Option | Description |
|---|---|
--json | Output as JSON |
Output
Cache Configuration
Effective directory: ~/.paradoc/cache
Global config:
TTL: 1h
Project config:
(not configured)cache reset
Reset cache configuration to defaults.
paradoc cache reset [options]Options
| Option | Description |
|---|---|
--clear | Also clear all cached data |
Output
✓ Cache configuration reset to defaults
Default settings:
TTL: 3600s (1 hour)
Directory: ~/.paradoc/cache