@usevane/cli
v0.1.4
Published
CLI tool to set up Vane in your project.
Readme
@usevane/cli
CLI tool to set up Vane in your project.
bun add -g @usevane/cliOr run directly:
bunx @usevane/cli init <apikey>Commands
usevane init <apikey>
Validates your API key, detects the framework, generates integration files, and writes VANE_API_KEY to your env.
usevane init proj_xxxWhat it does:
- Validates the key against the Vane API
- Detects your framework (currently: Next.js)
- Generates middleware and instrumentation files
- Writes
VANE_API_KEYto.env
Options
| Flag | Description |
|:-----|:------------|
| --force | Overwrite existing files |
| --env-file | Write API key to .env.vane instead of .env |
| --version | Show version |
| --help | Show help |
Telemetry
Anonymous crash reports are sent via Sentry. API keys and env vars are scrubbed before send.
Disable with:
VANE_TELEMETRY_DISABLED=1or:
DO_NOT_TRACK=1Docs
License
MIT
