@cookieyes/cli
v0.1.1
Published
CLI for setting up the CookieYes consent SDK
Readme
@cookieyes/cli
Scaffolder for the CookieYes Consent SDK. It
detects your framework and package manager, installs the right @cookieyes/* packages,
and wires up the provider and banner for you.
Usage
Run it in an existing project — no install required:
npx @cookieyes/cli initOr with your package manager's equivalent:
pnpm dlx @cookieyes/cli init
yarn dlx @cookieyes/cli initWhat it does
- Detects whether you're using React or Next.js (App Router).
- Detects your package manager (npm / pnpm / yarn / bun).
- Installs the matching adapter (
@cookieyes/reactor@cookieyes/nextjs). - Patches your app entry / layout to mount the consent provider and banner.
License
MIT © CookieYes
