emdash-cli

Installation
SKILL.md

EmDash CLI

The EmDash CLI (emdash or ec) manages EmDash CMS instances. Commands fall into two categories:

  • Local commands — work directly on a SQLite file, no running server needed: init, dev, seed, export-seed, auth secret
  • Remote commands — talk to a running EmDash instance via HTTP: types, login, logout, whoami, content, schema, media, search, taxonomy, menu

Authentication

Remote commands resolve auth automatically:

  1. --token flag
  2. EMDASH_TOKEN env var
  3. Stored credentials from emdash login
  4. Dev bypass (localhost only — no token needed)

For local dev servers, just run the command — auth is handled automatically. For remote instances, run emdash login --url https://my-site.pages.dev first.

Custom Headers & Reverse Proxies

Related skills

More from emdash-cms/emdash

Installs
35
GitHub Stars
10.5K
First Seen
Apr 2, 2026