@abraca/plugin-cli
v2.33.0
Published
CLI for Abracadabra plugin authors — validate, pack, and preview-scan plugins locally before submission.
Readme
@abraca/plugin-cli
The abra-plugin CLI — validate, pack, and preview-scan an Abracadabra plugin locally before submitting it to the registry. Validation is delegated to @abraca/schema; dependency-free (node: builtins only).
Documentation
Full, code-derived documentation lives in docs/ — the three commands, their
inputs/outputs, and the exact exit-code contract. It is the source of truth.
Commands
abra-plugin validate [--quiet] [path] # schema-validate manifest.json
abra-plugin pack [--dry-run] [path] # recompute integrity, rewrite manifest
abra-plugin preview-scan [path] # capability/security regex scanAll default the path to ./manifest.json.
::
Exit codes:
0ok ·1warnings (preview-scan) / still-invalid after pack ·2read/parse error or hard validation failure.packwritesintegrityassha256-<hex>— note the@abraca/pluginmanifest type documents bare hex (the host enforces). Seedocs/1.commands/.
License
MIT.
