Skip to main content

Usage

ocx verify [components...] [options]

Description

Verify the integrity of installed components by computing SHA-256 hashes and comparing them against the recorded values in the receipt file (.ocx/receipt.jsonc). Detects unauthorized modifications or corruption.

Arguments

ArgumentRequiredDescription
components...NoSpecific components to verify (verifies all if omitted)

Flags

FlagShorthandDefaultDescription
--cwd <path>Current directoryWorking directory
--quiet-qfalseSuppress output
--verbose-vfalseVerbose output
--jsonfalseOutput as JSON

Examples

Verify All Installed Components

ocx verify

Verify a Specific Component

ocx verify shadcn/button

Verbose Output Showing All Files

ocx verify --verbose

See Also