htmlark CLI
Generated from the htmlark command catalog. MCP and the skill call the same commands.
npx htmlark put --key q3-sales --file ./q3.html --json
| Command | What it does |
|---|---|
put | Create or update by key. Agent path. Always --json --key. |
get | Print metadata. --out writes the authored bytes. |
list | Local artifacts. Search and tag filters. |
diff | Unified source diff between two versions. |
restore | Append an old version as the new head. |
undelete | Clear deleted_at. |
open | Open the viewer. Starts serve if it is not running. |
serve | Loopback HTTP on 127.0.0.1:7420. |
export | Write authored bytes to a file. |
import | Import a file. May be stored dirty. |
setup | Install the skill pack and print the MCP snippet. |
check | Sanity-check HTMLARK_HOME. |
recipe validate | Validate a recipe v0 file or HTML quality gate. |
doctor | Integrity, missing blobs, orphans. |
mcp | stdio MCP. No force. |
catalog | Print the command catalog JSON. |
remote init | Write remotes.json and scaffold a Cloudflare Worker. |
publish | Push a version to a remote. One-way. |
unpublish | Remove a published artifact from the remote. |
fork | Copy a public artifact into a new local id. |
version | Print htmlark version. |
Store: $HTMLARK_HOME or ~/.htmlark. Bind is loopback only. Publish is one-way to a remote.