pyld cache¶
Requires pip install PyLD[cli]
Clear the HTTP cache for remote JSON-LD contexts fetched by the CLI.
The cache file lives in a cli/ subdirectory of the platform user cache
directory documented for
SqliteCacheRequestsDocumentLoader.
Override the location with --cache-file or the PYLD_CACHE_FILE environment
variable (--cache-file wins when both are set):
pyld --cache-file /tmp/pyld-cache.sqlite cache clearCache cleared.
pyld cache --help
Usage: pyld cache [OPTIONS] COMMAND [ARGS]...
Cache management.
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────╮
│ clear Clear the CLI HTTP cache. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
Usage: pyld cache [OPTIONS] COMMAND [ARGS]...
Cache management.
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────╮
│ clear Clear the CLI HTTP cache. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
pyld cache clear --help
Usage: pyld cache clear [OPTIONS]
Clear the CLI HTTP cache.
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
Usage: pyld cache clear [OPTIONS]
Clear the CLI HTTP cache.
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
Clear the cache¶
pyld cache clearCache cleared.