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.
--json | Machine-readable output, for scripts. |
--dry-run | Show the plan and save nothing. |
--yes | Apply without asking. |
--operation-id ID | A retry id of 32 lower-case hex digits: running the same command again with it changes the site only once. |
-q | Quiet. |
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
info | What the site is and what files it holds. |
render --out page.png | A picture of a page; --width, --height, --full-page. |
check | Findings at each width. See Check your pages. |
observe | Sizes, positions and styles as drawn at each width. |
explain | Why an element's property has its value. |
find elements | text | css | similar | components | keyframes | Search a file. |
guide | The design guide for a kind of site. |
Pages and words
new DIR --starter landing | A new site: blank, landing or vite-react. |
pages, page new | copy | rename | delete | Manage pages; links follow renames and deletes. |
text, frontmatter, attr | Change words, Markdown values and attributes. |
links --broken, link set | Find dead links; repoint one. |
repeated, repeated edit | Change a header or footer on every page at once. |
Elements
insert | Add an element, or a whole tree with its CSS. |
delete, move, duplicate | Remove, move or copy one. |
group, ungroup, batch | Wrap several; unwrap; act on several as one change. |
component extract | use | slot-add | slot-set | reset | where-used | Reusable components. |
Style and layout
style | One property on a rule or element, at a width or in a state. |
css --rules JSON | Many rules in one plan and one Undo. |
layout, size, intent | Stack, 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 | toggle | Animation. |
keyframe edit | Make and change keyframes. |
Design
grade show | adopt | colour | type | space | shape | motion | Move the whole design. See Grade and looks. |
looks, look apply | The six looks. |
blocks, add --block ID | The 30 blocks. |
tokens, token new | mode | scale | Shared design values, dark mode and scales. |
colors, recolor --from --to | List colours; replace one everywhere. |
fonts, font add, text-styles | Fonts and named text styles. |
hardcoded, conditions | Values written by hand; the media and other conditions in use. |
compose --brief JSON | A page from a brief. |
Pictures
assets | Every picture and whether it is used. |
asset add | replace | optimize | crop | resize | responsive | remove | See Pictures. |
History and publishing
history, undo, redo, status | Receipts and taking them back. |
snapshots, snapshot save | compare | restore | delete | Named copies of the site. |
recover | Unfinished saves after a crash. |
publish targets | plan | run | history | See Publish. |
Licence, updates, plugins and MCP
license status | activate | check | deactivate | See Trial and licence. |
update check | install | New versions. |
plugin install | list | remove | run | See Plugins. |
mcp --tools agent SITE… | The MCP server. See Connect your agent. |
Exit codes
0 | Done, or nothing needed changing. |
1 | Refused. The message says why and what to do next. |
2 | Recovery needed. Run velluma status; nothing more is written until it is settled. |
3 | The command was not understood. |
4 | An internal error in Velluma. |