@opencookies/cli
Terminal UI for scans and config sync
Terminal entry point for OpenCookies. Wraps @opencookies/scanner for one-off scans, config init, and writing back vendor-category suggestions that the Vite plugin only prints.
Status: scaffold. The package and
opencookiesbin are reserved; the implementation is in flight. For build-time scanning today, use@opencookies/vite— same scanner, integrated with HMR andvite build.
Install#
bun add -D @opencookies/cliUsage#
opencookies --helpPlanned commands#
opencookies scan— run the scanner against a project, print findings.opencookies init— scaffold a startercookies.config.tswith the categories the scanner detected.opencookies sync— apply the vendor-category suggestions the Vite plugin prints whenautoSync: true, writing them to your config file.
Track progress in the repo issues.
See also#
@opencookies/scanner— the detection engine the CLI wraps@opencookies/vite— recommended for in-editor / CI feedback today@opencookies/core— runtime config the CLI generates and edits
License#
Apache-2.0