Commercient

Commercient Data Lake / The dlake CLI

Everything from the terminal — in the spirit of the Stripe and HubSpot CLIs

dlake is the official cross-platform CLI: one self-contained binary (Windows, Linux, macOS — x64 and arm64) that covers sign-up, schema, queries, exports, API keys, object storage, and the entire admin control plane. Human-readable tables by default, --json everywhere for scripts.

Install

npm install -g datalake        # or: npm install -g @commercient/dlake (same CLI)
# or download a self-contained binary from the GitHub releases - no runtime needed

From zero to a working backend

# 1. Sign up - no browser, no key needed. The consent flags are the registrant's
#    statements; an integration setup passes its real ERP as --instance-type.
dlake register start --email you@company.com --company "Acme Inc" --phone +15551234567 \
  --consent-crm-backup --consent-erp-backup --consent-phone

# 2. Click the emailed verification link, then watch it provision and seed:
dlake register status --watch    # prints a once-only bootstrap API key, saved to a profile

# 3. Use it.
dlake query "SELECT TOP 10 * FROM account" --json
dlake export account --format parquet --out ./account.parquet
dlake keys create --name ci-reader
dlake admin list                 # every admin tool your key can use
dlake admin create_table --help  # every tool self-documents its arguments

The surface, in groups

GroupWhat it covers
register / registrationSelf-service sign-up, resume, and the setup wizard - including a one-command OAuth flow that opens your browser and completes the CRM authorization for you.
query / exportSQL against your lake; background CSV/Parquet exports.
keys / login / profilesAPI keys and multi-tenant profiles.
s3Linked object storage: browse, upload, download, server-side table exports.
adminGeneric passthrough to every admin tool - schema, views, imports, webhooks, wizard, CRMPro (crmpro_*), TxDownloaderPro (txdownloaderpro_*).
toolGeneric passthrough to every data-plane tool.
guide / skillsThe bundled documentation and agent skills (see below).

Getting help

Help is layered so you never leave the terminal:

CommandWhat you get
dlake --help, dlake <cmd> --helpUsage for every command and sub-command.
dlake guide cliThe full CLI reference.
dlake guide help / dlake guide apiThe product help and the complete API guide (fetched live from your tenant).
dlake skills list / dlake skills show <name>The agent skills - task-oriented playbooks covering setup, the sync products and the on-premises agent, that also teach AI agents.

The same guides are in the web console's Help section, and AI agents can fetch them over MCP (get_help_docs, get_api_guide, list_skills, get_skill). Release notes live on GitHub.