Status · 24 h
Riverside Bakery225 rec ◆ 0The Orchard56 rec ▲ +10The Orchard Group28 rec ◆ 0poezine.orguptschoonover.comupTEMP43.5°C ▲ +0.5°DISK60.1% ▲ +1.7 ptMEM53% ▲ +1 ptLOAD0.22 ▼ -0.01UP6d 11hTUNNELrunningRADICLEdown
poezine.org

Commands

The program is called entity. Run these from a republic's folder as node cli/index.js COMMAND, or as entity COMMAND once you have the shortcut from Getting started.

§01By task
  • Starting: found, preset, join, key
  • Everyday: act, propose, count, settle, status, params, participants, verify
  • Copies: sync, bundle, absorb, clone, radicle, attest
  • Changing the code or the law: module, upgrade, adopt, gate, fork
  • Checkpoints: checkpoint, finality
  • Running a node: serve, build, dist
  • When something is wrong: diagnose, repair
§02All commands
CommandWhat it doesUsage
entity foundbring it into being[--preset name] [--id p-0001] [--name "…"]
entity actdo something, signed<kind> [--field value …] [--as id] [--out file] [--settle]
entity settlefold pending acts into the record [--dry]
entity verifycheck it, offline, needing nobody [--json]
entity syncpush and pull everywhere at once [--to name] [--settle]
entity proposelay a proposal, rule chosen for you --title "…" [--effects json] [--changes json]
entity joinmake a key and sign an application --id <id> [--name "…"]
entity keyshow or rotate your key`show \rotate`
entity sealsealed content only members read`status \key \epoch \grant M \post \read`
entity passwordsign in with a password`set \remove [--as id] [--settle]`
entity statuswhat this copy holds
entity countcount the ballots on a proposal<proposal id> [--json]
entity paramsevery settable value[key]
entity participantsthe register
entity presetshapes to found from`list \apply <name>`
entity attestsign what you hold
entity checkpointsigned positions`status \make \sign [n] \tidy`
entity bundlethe record as one file[--out file] [--from n]
entity absorbfold in a bundle or signed act<file> [--settle]
entity clonea new copy from any holder`<bundle \url> <dir>`
entity diagnosedescribe damage to the record
entity repairrechain after concurrent appends [--merge bundle] [--resettle] [--write]
entity modulemodules, by decision`list \available \source [src] \add <n> \upgrade <n> \enable <n> \disable <n> \fetch`
entity finalitycheckpoints that decide`status \sign \evidence <file> \scan <copy>`
entity upgradethe core, by decision`check [source] \propose [source] \apply \status`
entity forka new entity naming this one as its parent --name "…" --out <dir> --as <id> [--at n] [--carry value,deeds] [--electorate spec]
entity radiclepublish and replicate on Radicle`init \status`
entity adoptbring in approved code or law<git ref> [--decision <id>] [--dry]
entity gatemay these files change?`<paths…> --decision <id> \--against <dir> \digest <paths…>`
entity serverun a node and its page[--port 7780] [--settle]
entity appthe local control panel: create and run republics in a browser [--port 7700] [--home ~/entities]
entity buildthe static page[--out site]
entity distthe code as an archive, never the state [--out file]
§03Options every command takes

--dir <entity directory> --as <participant id> --key <private key file>

  • --dir works on an entity in another folder.
  • --as signs as that member; their key is found in ~/.entity/keys/<entity id>/<id>, or set ENTITY_KEYS to keep keys elsewhere.
  • --key uses a key file anywhere; --password (or ENTITY_PASSWORD) signs with your password instead.
§04Only from the terminal

Most things happen on the page. These need the terminal: founding (preset apply, found); setting the module source (module source); second readings of constitutional changes (act proposal.lay … --reading_of); copies and repair (sync, bundle, absorb, clone, fork, diagnose, repair, radicle init); key rotation (key rotate); and a node's own settings in node.json.