Install any skill in seconds. Free to start, no credit card required.
Get Started Free →The EmDash CLI manages EmDash CMS instances: local SQLite commands plus remote content, schema, media, and auth operations over HTTP.
Use this skill ↓59% 95%+36 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 13 of 22 without it.
3 of 3 safety checks passed
Not used yet
The EmDash CLI (emdash or ec) manages EmDash CMS instances. Commands fall into two categories:
init, dev, seed, export-seed, auth secrettypes, login, logout, whoami, content, schema, media, search, taxonomy, menuRemote commands resolve auth automatically:
--token flagEMDASH_TOKEN env varemdash loginFor local dev servers, just run the command — auth is handled automatically. For remote instances, run emdash login --url https://my-site.pages.dev first.
Sites behind Cloudflare Access or other reverse proxies need auth headers on every request. The CLI supports this via --header flags and environment variables.
# Single header
npx emdash login --url https://my-site.pages.dev \
--header "CF-Access-Client-Id: xxx.access" \
--header "CF-Access-Client-Secret: yyy"
# Short form
npx emdash login -H "CF-Access-Client-Id: xxx" -H "CF-Access-Client-Secret: yyy"
# Via environment (newline-separated)
export EMDASH_HEADERS="CF-Access-Client-Id: xxx
CF-Access-Client-Secret: yyy"
npx emdash login --url https://my-site.pages.dev
Headers are persisted to ~/.config/emdash/auth.json after login, so subsequent commands inherit them automatically.
Next to this one in the catalogue, plus more from the same author.