@intempt-technologies/cli
v0.1.2
Published
Schema-driven typed SDK wrapper generator for Intempt
Readme
@intempt-technologies/cli
CLI for Intempt — AI-assisted analytics instrumentation (tracking plans + typed SDK wrappers for 14 platforms), plus a full platform-operations command surface over Intempt's real API.
Check before you install:
npm view @intempt-technologies/cli version. If that 404s, the package is not published yet -- build from source (see Development) and the install commands below will start working once the firstcli@*tag runscli-publish.yml. Stating the check rather than the state, so this line stays true after the release instead of rotting on the day it ships.
Install
npm install -g @intempt-technologies/cliOr run without installing:
npx @intempt-technologies/cli <command>Requires Node.js >= 18.
From Claude Code
Install the Intempt plugin instead — it installs this CLI, registers the MCP server, and runs a guided setup skill in one step:
/plugin marketplace add intempt/claude-plugin
/plugin install intempt@intempt-pluginsThen say "run intempt setup".
Authentication
intempt loginOpens a browser (device-code flow, no passwords in chat/terminal). Session is stored at ~/.intempt/auth.json (mode 0600, encrypted), shared with @intempt-technologies/mcp — one login covers both.
If your account belongs to more than one org/project, intempt login can't guess which one you mean and leaves it unset. Resolve it with:
intempt use --org your-org --project your-project # or omit both flags for an interactive pickerINTEMPT_ORG/INTEMPT_PROJECT env vars always take precedence over the stored default, for CI/automation.
Commands
Analytics instrumentation
| Command | What it does |
|---------|---------------|
| intempt init | Interactive wizard — AI codebase scan, guided, or empty tracking plan (intempt.yaml) |
| intempt generate | Generate a typed SDK wrapper or REST client from intempt.yaml |
| intempt add <event> | Add an event to intempt.yaml interactively |
| intempt remove <event> | Remove an event from intempt.yaml |
| intempt validate | Validate intempt.yaml |
| intempt status [--ci] [--json] [--warn-only] | Check instrumentation coverage |
| intempt push | Sync schema to the Intempt console (backend endpoint not live yet) |
Auth
| Command | What it does |
|---------|---------------|
| intempt login | Authenticate (device-code OAuth, opens a browser) |
| intempt logout | Clear stored credentials |
| intempt whoami | Show current user, orgs, and projects |
| intempt use [--org NAME] [--project NAME] | Set the default org/project (interactive picker if flags omitted) |
Platform operations (registry-backed, 205 entries across 13 domains)
| Command | What it does |
|---------|---------------|
| intempt registry list [--json] | List every available command, grouped by domain |
| intempt registry describe <tool> [--json] | Show one command's arguments |
| intempt <domain> <action> [--flags] [--json] | Call a command directly, e.g. intempt users get_user_overview --email [email protected] |
Email/name arguments for users/accounts commands resolve to an internal ID automatically — you never need internal IDs.
Content generation (via Blu Chat)
| Command | What it does |
|---------|---------------|
| intempt content generate-email "<prompt>" [--format html\|plain] | Generate an email |
| intempt content generate-sms "<prompt>" | Generate an SMS message |
| intempt content generate-push "<prompt>" | Generate a push notification |
| intempt content generate-landing-page "<prompt>" | Generate landing page HTML |
| intempt content generate-slack "<prompt>" | Generate a Slack message |
| intempt content generate-text "<prompt>" | Generate generic text/copy |
| intempt content generate-image "<prompt>" | Generate an image |
intempt gen-email / intempt gen-image are shorthand aliases for the two most common ones.
Development
This package lives in the intempt/cli monorepo, alongside packages/mcp (the MCP server) and packages/commands (the shared API registry both depend on).
bun install
bun run src/index.tsx init # interactive wizard
bun test # test suite
bun run build # dist/index.js — Node-runnable, not Bun-onlyLicense
MIT
