basalt new <dir> [--title "My garden"] # start a garden
basalt dev [dir] [--port 4321] # serve it, live, in the background
basalt build [dir] # build it into <dir>/.basalt/astro/dist
basalt check [dir] [--json] # build it and list what's broken
basalt status [dir] # what the dev server is doing
basalt wait [dir] # wait until your newest save is live
basalt logs [dir] [--raw] # the dev server's log
basalt stop [dir]
basalt example [component] [place] # how to write a graph, a tree, …, in the text or the margin
basalt help [topic] # the commands, or a part of the manualdir is the garden’s folder, the one with basalt.json in it; without one, it’s the folder you’re in. Several gardens can be served at once.
basalt devserves in the background and returns, so the terminal stays yours;basalt stopstops it, andbasalt logsshows what it said.basalt buildexits 1 when a note doesn’t build, naming its file and line. The rest of the site is still built.basalt checkbuilds, then lists notes that failed, broken links, missing embeds and unknown islands, each with its file and line, and notes nothing links to.--jsongives the same as JSON.basalt statusandbasalt waitare for agents, or anyone who wants to know a save has landed.basalt example graphprints the markdown for a graph, ready to paste, andbasalt example graph marginthe same graph in the margin. Any component goes in either place;basalt example marginsays how the margin works, andbasalt examplelists them all.basalt helplists the commands and the parts of BASALT.md, Basalt’s manual;basalt help writingprints the part on writing.