@gurulu/cli
v1.7.0
Published
Gurulu CLI. init / pull / push / validate / doctor — registry as code, local schema sync.
Readme
@gurulu/cli
CLI for Gurulu — Truth Layer for product analytics.
Registry-as-code, typed events, schema sync between your codebase and the Gurulu event registry.
Install
npm install -g @gurulu/cli
# or
bun add -g @gurulu/cliQuick start
gurulu login # authenticate (OAuth device flow)
cd my-project
gurulu init --workspace <workspace-uuid>
gurulu pull # fetch registry + generate typed eventsThen in your code:
import { track } from '@gurulu/web';
// IDE autocomplete: event names + property types from your registry
track('checkout.completed', { order_id: 'o_123', total: 49.99 });Commands
| Command | Purpose |
|---|---|
| gurulu init | Initialize Gurulu workspace in current project |
| gurulu login | Authenticate via OAuth device flow |
| gurulu logout | Remove stored credentials |
| gurulu whoami | Show active workspace + user |
| gurulu pull | Pull registry snapshot + generate typed events |
| gurulu push | Propose new event/property to the registry |
| gurulu validate | Scan codebase for deprecated/unknown event calls |
| gurulu doctor | Run 5-check installation diagnostic |
| gurulu mcp start | Start MCP server for Cursor / Claude Code / Lovable |
Documentation
License
Business Source License 1.1 — see LICENSE.
The Licensed Work converts to the Apache License, Version 2.0 on 2030-05-21.
Copyright © 2026 MONAFY LTD (UK Company No. 17031485).
