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
CommandWhat it does
putCreate or update by key. Agent path. Always --json --key.
getPrint metadata. --out writes the authored bytes.
listLocal artifacts. Search and tag filters.
diffUnified source diff between two versions.
restoreAppend an old version as the new head.
undeleteClear deleted_at.
openOpen the viewer. Starts serve if it is not running.
serveLoopback HTTP on 127.0.0.1:7420.
exportWrite authored bytes to a file.
importImport a file. May be stored dirty.
setupInstall the skill pack and print the MCP snippet.
checkSanity-check HTMLARK_HOME.
recipe validateValidate a recipe v0 file or HTML quality gate.
doctorIntegrity, missing blobs, orphans.
mcpstdio MCP. No force.
catalogPrint the command catalog JSON.
remote initWrite remotes.json and scaffold a Cloudflare Worker.
publishPush a version to a remote. One-way.
unpublishRemove a published artifact from the remote.
forkCopy a public artifact into a new local id.
versionPrint htmlark version.

Store: $HTMLARK_HOME or ~/.htmlark. Bind is loopback only. Publish is one-way to a remote.