@policystack/cli
Terminal UI for scans and config sync
Terminal entry point for Consent. Wraps @policystack/vite for one-off scans, config init, and writing back vendor-category suggestions that the Vite plugin only prints.
Status: the
@policystack/clipackage ships with apolicystackbin (init,validate,mcp); the consent-specific scan/sync commands below are still in flight. For build-time scanning today, use@policystack/vite— same scanner, integrated with HMR andvite build.
Install#
bun add -D @policystack/cliUsage#
policystack --helpPlanned commands#
policystack scan— run the scanner against a project, print findings.policystack sync— apply the vendor-category suggestions the scanner detects, writing them to yourpolicystack.ts.
Track progress in the repo issues.
See also#
@policystack/vite— the detection engine the CLI wraps@policystack/vite— recommended for in-editor / CI feedback today@policystack/core/consent— runtime config the CLI generates and edits
License#
Apache-2.0