Extend

Command line

All docs

Everything the window does has a command. This page lists them by task; velluma help all prints the same list, and velluma <command> --help shows one with an example.

How commands look

velluma <command> [site] [options]

The site is a folder and defaults to the one you are in. velluma alone opens the window on its start screen, and velluma ~/sites/my-site opens it on that folder. velluma grade, velluma asset and the other nouns list their verbs.

--jsonMachine-readable output, for scripts.
--dry-runShow the plan and save nothing.
--yesApply without asking.
--operation-id IDA retry id of 32 lower-case hex digits: running the same command again with it changes the site only once.
-qQuiet.

Numbers and digests

Commands that change a page take the element's number and the file's digest, both printed by find elements. The digest proves you are changing the file you read. In HTML you can name the element with --select and a CSS selector instead.

velluma find elements --file index.html
velluma attr --file index.html --select "img.hero" --name alt --to "Loaves cooling on a rack"

Look at a site

infoWhat the site is and what files it holds.
render --out page.pngA picture of a page; --width, --height, --full-page.
checkFindings at each width. See Check your pages.
observeSizes, positions and styles as drawn at each width.
explainWhy an element's property has its value.
find elements | text | css | similar | components | keyframesSearch a file.
guideThe design guide for a kind of site.

Pages and words

new DIR --starter landingA new site: blank, landing or vite-react.
pages, page new | copy | rename | deleteManage pages; links follow renames and deletes.
text, frontmatter, attrChange words, Markdown values and attributes.
links --broken, link setFind dead links; repoint one.
repeated, repeated editChange a header or footer on every page at once.

Elements

insertAdd an element, or a whole tree with its CSS.
delete, move, duplicateRemove, move or copy one.
group, ungroup, batchWrap several; unwrap; act on several as one change.
component extract | use | slot-add | slot-set | reset | where-usedReusable components.

Style and layout

styleOne property on a rule or element, at a width or in a state.
css --rules JSONMany rules in one plan and one Undo.
layout, size, intentStack, grid or block; fixed, hug or fill; read the current layout.
style-object …Classes as named styles, with variants and states.
motion enter | hover | scroll | transition | toggleAnimation.
keyframe editMake and change keyframes.

Design

grade show | adopt | colour | type | space | shape | motionMove the whole design. See Grade and looks.
looks, look applyThe six looks.
blocks, add --block IDThe 30 blocks.
tokens, token new | mode | scaleShared design values, dark mode and scales.
colors, recolor --from --toList colours; replace one everywhere.
fonts, font add, text-stylesFonts and named text styles.
hardcoded, conditionsValues written by hand; the media and other conditions in use.
compose --brief JSONA page from a brief.

Pictures

assetsEvery picture and whether it is used.
asset add | replace | optimize | crop | resize | responsive | removeSee Pictures.

History and publishing

history, undo, redo, statusReceipts and taking them back.
snapshots, snapshot save | compare | restore | deleteNamed copies of the site.
recoverUnfinished saves after a crash.
publish targets | plan | run | historySee Publish.

Licence, updates, plugins and MCP

license status | activate | check | deactivateSee Trial and licence.
update check | installNew versions.
plugin install | list | remove | runSee Plugins.
mcp --tools agent SITE…The MCP server. See Connect your agent.

Exit codes

0Done, or nothing needed changing.
1Refused. The message says why and what to do next.
2Recovery needed. Run velluma status; nothing more is written until it is settled.
3The command was not understood.
4An internal error in Velluma.