Skip to main content

vulkro cache and vulkro config

Two maintenance commands: cache manages the per-file extraction cache, and config inspects Vulkro's static pattern configuration.

vulkro cache

Manage the per-file extraction cache that speeds up repeat scans.

vulkro cache clear
Sub-commandDescription
clearDrop every per-file extraction cache row across all projects. Cheap and idempotent; the next scan re-populates from scratch.

Individual scans can bypass the cache for one run with --no-cache (or VULKRO_DISABLE_CACHE=1) instead of clearing it globally.

vulkro config

Inspect and explain Vulkro's static configuration.

vulkro config show-patterns
Sub-commandDescription
show-patternsPrint the hardcoded pattern lists the engine matches against (auth-middleware names, monorepo umbrella dirs, auth-helper body shapes) plus any user-extended additions picked up from vulkro.toml and env vars.

Run show-patterns before defining a custom auth-middleware name: many shapes are already covered by the built-in patterns, so you can extend only what is genuinely missing (via VULKRO_AUTH_MIDDLEWARE_NAMES and VULKRO_AUTH_HELPER_NAMES).

Command reference

Generated from vulkro help cache on vulkro 0.26.0. This block is the authoritative flag, usage, and exit-code reference for this command; the prose above is the friendly explanation. Do not edit this block by hand; run npm run docs:cli after a release.

Manage the on-disk cache that makes repeat scans faster.

Manage the per-file extraction cache.

Exit code: 0 on success, 2 on error. See each sub-action for details.

Usage: vulkro cache [OPTIONS] <COMMAND>

Commands:
clear Drop every per-file extraction cache row across all projects. Cheap, idempotent - the next scan re-populates from scratch
help Print this message or the help of the given subcommand(s)

Options:
--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set

-h, --help
Print help (see a summary with '-h')

$ vulkro cache clear --help
------------------------------------------------------------
Drop every per-file extraction cache row across all projects. Cheap, idempotent - the next scan re-populates from scratch.

Exit code: 0 cache cleared, 2 on database / IO error.

Usage: vulkro cache clear [OPTIONS]

Options:
--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set

-h, --help
Print help (see a summary with '-h')