emdash-cli

Automate EmDash CMS management via CLI commands for local and remote workflows.

11.6k|1.1k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/emdash-cms/emdash --skill emdash-cli-emdash-cms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: emdash-cli
Source: https://github.com/emdash-cms/emdash/tree/main/templates/marketing-cloudflare/.agents/skills/emdash-cli
Command: npx skills add https://github.com/emdash-cms/emdash --skill emdash-cli-emdash-cms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a self-contained CLI workflow to manage an EmDash CMS instance from the terminal, enabling rapid content operations, schema management, media handling, and type generation without a web UI.

Core Features & Use Cases

  • Remote and local commands are exposed by the EmDash CLI, including init, dev, seed, export-seed, auth secret (local) and types, login, logout, whoami, content, schema, media, search, taxonomy, and menu (remote). You can automate routine tasks, set up new sites quickly, and script CMS operations as part of CI/CD pipelines.
  • Typical use cases include bootstrapping a new site, generating TypeScript types from remote schemas, uploading media assets, creating and updating content programmatically, and managing authentication for headless environments.

Quick Start

Start the local development server and explore content management capabilities with the EmDash CLI.

Frequently Asked Questions about emdash-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage a headless CMS instance from the command line?

You can manage a headless CMS instance from the command line using the EmDash CLI, which exposes local and remote commands for content operations, schema management, and media handling without a web UI.

Can I generate TypeScript types from a remote CMS schema?

Yes, you can generate TypeScript types from a remote CMS schema using the remote `types` command provided by the EmDash CLI to support headless environments.

What is the best way to automate content management tasks in a CI/CD pipeline?

Automating content management tasks in a CI/CD pipeline is handled by scripting EmDash CLI remote commands like `content`, `schema`, and `media`, enabling rapid end-to-end CMS workflows.

How do I authenticate a CLI tool for headless CMS access?

You can authenticate a CLI tool for headless CMS access using token-based, login, or browser-based authentication flows supported by the EmDash CLI.

Do I need a running EmDash instance to use the CLI commands?

Yes, you need a running EmDash instance and the EmDash CLI installed to execute both local commands like `init` and `dev` and remote commands like `content` and `schema`.

How do I bootstrap a new CMS site from the terminal?

Bootstrapping a new CMS site from the terminal is done using the local `init` and `seed` commands to quickly set up and populate your EmDash instance.