CLI reference¶
Every analects command, generated from the CLI itself by scripts/cli_reference.py. analects <command> --help says the same, and analects help --agent gives the command surface as JSON for an agent.
analects add¶
analects add claim¶
Stage a claim: one property value, citing one event.
entity |
entity id or exact name |
assignment |
property=value |
--from |
event id |
--kind |
stated | projection | derived | rumoured |
--method |
derived claims |
--inputs |
derived claims: input claim ids |
--low |
|
--high |
|
--retract |
the source withdrew this value |
--valid-from |
|
--valid-to |
|
--period |
|
--on |
date an EVENT happened |
--ended-on |
the value stopped being true on this date |
--ended-by |
the value had stopped by this date |
--db |
Database file (default: ./graph.db) |
analects add entity¶
Stage a new entity, plus a claim per field and a relation per edge.
type_name |
|
--fields, -f |
key=value |
--edge, -e |
edge= |
--from |
event id |
--rejected-candidates |
|
--db |
Database file (default: ./graph.db) |
analects add event¶
Stage an event: one observation inside one document.
--source |
URL of the document |
--type |
source type |
--locator |
p.76, ¶3, t=12:34, row 12 |
--quote |
the exact words |
--text-file |
the page text you read; the quote is checked against it |
--text |
|
--fetch |
read --source over the network and check the quote against it (needs fetch: on) |
--published-at |
|
--publisher |
|
--observed-at |
|
--db |
Database file (default: ./graph.db) |
analects add relation¶
Stage a relation: <subject> --edge--> <object>, citing one event.
subject |
entity id or exact name |
object |
entity id or exact name |
--edge |
edge name, or an inverse alias |
--from |
event id |
--kind |
|
--attr |
key=value on the relation |
--method |
|
--retract |
|
--valid-from |
|
--valid-to |
|
--on |
date an EVENT happened |
--ended-on |
the relation stopped on this date |
--ended-by |
the relation had stopped by this date |
--db |
Database file (default: ./graph.db) |
analects answer¶
Close an open question: answered from an event, or dropped.
question |
qn_… id |
--from |
the event that answers it |
--drop |
|
--why |
|
--db |
Database file (default: ./graph.db) |
analects ask¶
Stage an open question on an entity.
entity |
|
question |
|
--db |
Database file (default: ./graph.db) |
analects audit¶
Re-check every stored quote against the archive it cites.
--source |
audit one source URL |
--json |
|
--db |
Database file (default: ./graph.db) |
analects brief¶
Read before researching: what needs attention on an entity, or a set.
entity |
entity id or name |
--full |
every value, both timelines |
--set |
brief a watchlist |
--deferred |
deferred items attached to no entity |
--props |
narrow to these properties (a sweep) |
--since |
--full: only timeline entries from this date |
--json |
|
--db |
Database file (default: ./graph.db) |
analects bundle¶
analects bundle export¶
Write what the dataset does not hold yet. Exporting seals a changeset: it takes no more writes, and your next write opens a new one.
--changeset |
one changeset (default: all) |
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
--json |
|
--db |
Database file (default: ./graph.db) |
analects bundle list¶
Every bundle in the dataset, oldest first.
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
--json |
analects bundle show¶
One bundle: whose, what it holds, and which readings it did not share.
ref |
a bundle id (or its prefix) |
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
--json |
analects bundle verify¶
Check bundles before a person looks: intact, signed by a listed contributor, within the rules, and the dataset still rebuilds (D47i). Exits 1 on failure.
ids |
bundle ids (default: all) |
--since |
only bundles a git ref lacks, e.g. origin/main |
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
--json |
analects candidate¶
analects candidate list¶
Candidates for a scope and their latest disposition.
scope |
|
--open |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects candidate resolve¶
Decide a candidate. Each decision is kept; the latest counts.
candidate |
|
matched|added|excluded|unsourced|duplicate|open |
|
--entity |
|
--rule |
the scope exclusion it falls under |
--why |
|
--by |
who is deciding (declared, not verified; default $ANALECTS_ACTOR, else unknown) |
--db |
Database file (default: ./graph.db) |
analects changeset¶
analects changeset list¶
Every changeset: who owns it, what it is for, and what became of its rows.
--open |
|
--from |
one contributor's work: ada, ada/tdlr, or /tdlr (D47b) |
--json |
|
--db |
Database file (default: ./graph.db) |
analects changeset start¶
Say what your open changeset is for, opening one if you have none.
--intent |
what this piece of work is for |
--scope |
|
--db |
Database file (default: ./graph.db) |
analects check¶
Triage a document, or a research run's report, against the graph. Writes nothing to the graph.
document |
the document you read; omit it with --fetch |
--source |
URL of the document |
--type |
source type |
--mentions |
JSON: one object per fact |
--report |
a research run's report: read every page it cites, check its quotes against them, and write a results skeleton (D56) |
--scope |
with --report: the scope it is for |
--out |
with --report: save the pages and results.json here |
--published-at |
|
--publisher |
|
--ops-out |
write the staged-ready batch here |
--fetch |
read --source over the network instead of passing a file |
--json |
|
--db |
Database file (default: ./graph.db) |
analects contributor¶
analects contributor add¶
List a person in the dataset's contributors.yaml.
handle |
|
--role |
maintainer | researcher |
--key |
a .pub file or key line |
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
analects contributor agent¶
List an agent under a person, with where it may work; pause or resume it.
spec |
handle/agent |
--scope |
a scope it may work in; * for any |
--pause |
|
--resume |
|
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
analects coverage¶
analects coverage add¶
Stage a cited statement of how many members the scope should have (D45b).
scope |
|
count |
|
--from |
|
--qualifier |
what was counted, in the source's words |
--as-of |
|
--db |
Database file (default: ./graph.db) |
analects dataset¶
analects dataset init¶
Make a dataset carrying the settings in force now, so nothing changes value.
path |
directory to make a dataset |
--ci |
also write the GitHub Actions check |
--json |
analects dataset show¶
Its packs, shared settings, bundles and captures — and any of your analects.yaml settings it overrides (D47e).
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
--json |
analects defer¶
Park what you cannot place — or close a parked item.
args |
" |
--reason |
no_site | unsourced | ambiguous_entity | out_of_scope |
--source |
|
--entity |
the entity it belongs near |
--into |
resolve: claim or entity id |
--why |
drop: why |
--db |
Database file (default: ./graph.db) |
analects dupes¶
Entities that look like the same thing. Read-only unless --stage.
--type |
|
--stage |
stage each pair as a merge awaiting confirmation |
--json |
|
--db |
Database file (default: ./graph.db) |
analects find¶
Is this an entity we already have? Candidates, with the layer that matched.
text |
a name, an alias, or an external id |
--type |
|
--fields, -f |
k=v context: country, operator, ids… |
--json |
|
--db |
Database file (default: ./graph.db) |
analects footprint¶
What making a scope's data cost: energy, CO2e and water, as ranges, from what each run disclosed. Estimated on every read, never stored (D60).
scope |
|
--zone |
count every run on this grid (GBR, SWE, WOR …) instead of its provider's |
--json |
|
--db |
Database file (default: ./graph.db) |
analects gaps¶
analects gaps coverage¶
A grid of groups against properties: how many hold each (D48b).
--by |
a property or an edge |
--scope |
|
--set |
|
--type |
|
--props |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects gaps dismiss¶
Say a finding does not apply here, and why. It comes back when the entity changes (D48c).
entity |
|
rule |
|
--property |
|
--why |
|
--db |
Database file (default: ./graph.db) |
analects gaps rules¶
What each type expects, and what else is checked (D48).
--type |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects get¶
Show an entity's current template, with confidence.
entity |
|
--include-staged |
|
--as-of |
what was true on this date |
--known-at |
what we believed on this date |
--json |
|
--db |
Database file (default: ./graph.db) |
analects help¶
Print the command surface an agent can rely on (D28).
--agent |
print the live command surface as JSON |
analects history¶
Every claim ever made for one property, newest first.
entity |
|
property |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects import¶
Import a dataset: one event per record, resolved against what we hold.
name |
importer name |
path |
file or directory |
--list |
list importers |
--limit |
stop after N records |
--stage |
leave it staged for review |
--dry-run |
say what it would do; write nothing |
--published-at |
the date this copy was published |
--new |
a deferred subject you have checked and confirmed is its own entity (repeatable) |
--refresh |
read pages again even if read in the last refresh_hours (an importer that reads the web) |
--verbose, -v |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects init¶
Create the database and a default analects.yaml, and record what the graph is: the packs it is built on, its title and what it is about. Run again to change them.
--db |
Database file (default: ./graph.db) |
--me |
your handle, written to analects.yaml as me: (D47b) |
--pack |
a pack this graph is built on; repeat for more. Recorded in the graph, with what each imports; without any, every pack loads (D68) |
--title |
what this graph is called, recorded in it (D68) |
--about |
one sentence on what it holds, recorded in it (D68) |
analects keep-local¶
Never write these rows — or anything depending on them — to a dataset (D47f).
ids |
rows to keep in this graph |
--why |
why they may not leave |
--db |
Database file (default: ./graph.db) |
analects keys¶
analects keys init¶
Make a signing key (ed25519, kept apart from git), and use it for exports.
--path |
default ~/.analects/signing_key |
analects log¶
Who contributed what: changesets and what became of them, decisions, sweeps and candidates, per contributor and agent (D47p).
--scope |
|
--by |
ada, ada/tdlr or /tdlr |
--since |
YYYY-MM-DD |
--json |
|
--db |
Database file (default: ./graph.db) |
analects mcp¶
Run the MCP server on stdio (read / check / write / review).
analects merge¶
Apply staged changes to the main graph. Every row merged is logged (D44).
ids |
|
--all |
every waiting row in the graph, from every changeset and contributor; never with --changeset or --from (D33g) |
--changeset |
|
--from |
one contributor's work: ada, ada/tdlr, or /tdlr (D47b) |
--confirm |
an op you have reviewed and accept in bulk, e.g. entity |
--by |
who is deciding (declared, not verified; default $ANALECTS_ACTOR, else unknown) |
--why |
the instruction or reason this merge acts on |
--db |
Database file (default: ./graph.db) |
analects merge-entities¶
Stage a merge of A into B. It waits for analects merge <id> (hard rule 4).
a |
merged away |
b |
kept |
--from |
|
--why |
|
--db |
Database file (default: ./graph.db) |
analects not-same¶
Record that two entities are different, so they are never proposed again.
a |
|
b |
|
--why |
|
--db |
Database file (default: ./graph.db) |
analects path¶
How two entities are connected — every hop, with the weakest one named.
from |
|
to |
|
--max-hops |
how far to look |
--limit |
routes to show, when several tie |
--as-of |
how they were connected on this date |
--known-at |
what we believed on this date |
--include-rumoured |
walk rumoured edges too, and mark them |
--max-visits |
give up after this many entities |
--max-degree |
refuse to route through a node reaching more than this many entities |
--json |
|
--db |
Database file (default: ./graph.db) |
analects peer¶
analects peer login¶
Sign in to the peer with GitHub, in your browser.
--url |
analects peer logout¶
Forget the sign-in, and tell the peer to revoke it.
--url |
analects peer status¶
Who the peer knows you as.
--url |
analects pull¶
Bring the dataset's new bundles into this graph, keeping everything local.
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
--stage |
propose possible duplicates as merges |
--no-git |
do not run git pull |
--json |
|
--db |
Database file (default: ./graph.db) |
analects query¶
analects query list¶
Every saved query: the packs' diagnostics, and this graph's own (D50b).
--json |
|
--db |
Database file (default: ./graph.db) |
analects query rm¶
Forget a query saved in this graph.
name |
|
--db |
Database file (default: ./graph.db) |
analects query run¶
Run a saved query by name.
name |
|
--param |
name=value |
--limit |
|
--json |
|
--csv |
|
--db |
Database file (default: ./graph.db) |
analects query save¶
Save a SELECT in this graph under a name. Never exported.
name |
|
--sql |
|
--description |
|
--db |
Database file (default: ./graph.db) |
analects read¶
Read a page through analects' own reader and save its text, for a quote to be checked against (text_file). It reads as a person's browser would and no further: the site's own cookies for this run, the listing before its document, a server's pace and refusals kept, a disclaimer agreed only if analects.yaml allows (D64c). It writes nothing to the graph.
url |
the page or document to read |
--out |
where to save its text |
--via |
the page that lists it, opened first, as a browser would (a portal's documents tab) |
--db |
Database file (default: ./graph.db) |
analects rebuild¶
Build a new graph from a dataset. It never writes over a graph unless told to.
dataset |
the dataset to rebuild from |
--into |
the new graph file |
--force |
move an existing file to .bak first |
--json |
analects refresh¶
analects refresh brief¶
The research tasks a set's gaps make: what we hold, why it needs work, and the JSON to hand back (D49).
--scope |
|
--set |
|
--type |
|
--ids |
comma-separated |
--props |
|
--rule |
|
--limit |
at most this many tasks |
--split |
deal the tasks into this many briefs |
--out |
write one brief per part into this directory |
--retry |
send tasks searched recently anyway |
--researcher |
|
--claim |
take a lease on each task handed out |
--hours |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects refresh record¶
Record what a refresh researcher returned: documents through analects check into one changeset, and an outcome per task (D49).
--results |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects refresh support-brief¶
Proposals whose quote the rules could not read against the value, for a checker agent (D49b).
--changeset |
|
--from |
one contributor's work: ada, ada/tdlr, or /tdlr (D47b) |
--include-not-supported |
send what the rules found against, too |
--researcher |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects refresh support-record¶
Record a checker's judgements, beside the rules' (D49b). Nothing merges.
--results |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects reject¶
Reject a staged row and everything depending on it — or, with --from, all of one contributor's staged work. Nothing is deleted, and the reason is kept with the decision (D44).
id_ |
|
--why |
|
--from |
one contributor's work: ada, ada/tdlr, or /tdlr (D47b) |
--by |
who is deciding (declared, not verified; default $ANALECTS_ACTOR, else unknown) |
--db |
Database file (default: ./graph.db) |
analects related¶
What sits closest to an entity over the relations we believe, ranked, each with the route that makes it related. Computed, never evidence (D50c).
entity |
|
--limit |
|
--edges |
walk only these edges |
--type |
rank only this type |
--json |
|
--db |
Database file (default: ./graph.db) |
analects revert¶
Undo merged work: stage a revert of a changeset, which waits for a person (analects merge <dc_id>) and then rejects everything the changeset merged (D49e).
target |
a changeset, or a bundle that carried one |
--why |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects review¶
Staged work, grouped by entity, with what it would change and what waits. With --queue: one item per proposal, decided one key at a time or in bulk.
--changeset |
|
--from |
one contributor's work: ada, ada/tdlr, or /tdlr (D47b) |
--bundle |
the changeset a pulled bundle carried |
--diff |
what a changeset already changed |
--verbose, -v |
every row in full, not its diff |
--queue |
one item per proposal: old, new, quote, support (D49c) |
--interactive, -i |
decide the queue one key at a time |
--accept |
accept every item the filters select |
--reject |
reject every item the filters select |
--yes |
apply --accept/--reject |
--html |
write the queue as a page that saves decisions |
--apply |
apply a decisions file from the page |
--advice |
an agent's advice, shaped like a decisions file, shown on each item for you to take or overrule (D49f) |
--scope |
|
--set |
|
--type |
|
--props |
|
--support |
supported, unclear, not_supported (comma-separated) |
--source |
part of the source URL |
--change |
missing, changed, corroborates, alongside, withdrawn |
--group |
source or entity |
--why |
|
--by |
who is deciding (declared, not verified; default $ANALECTS_ACTOR, else unknown) |
--json |
|
--db |
Database file (default: ./graph.db) |
analects schema¶
analects schema new¶
Start a pack for a domain analects does not ship: a working pack.yaml whose every block says what to change, in this project's packs/ (D68b). Fill it in, then analects schema test, then analects init --pack <name>@0.1.
pack |
the new pack's name, e.g. birds |
--type |
its first entity type, e.g. colony |
--about |
one sentence on what the pack tracks |
--into |
the packs folder (default: $ANALECTS_PACKS, else this project's packs/) |
analects schema show¶
Show a type's properties, edges, identity rules and resolution notes.
type_name |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects schema test¶
Validate the packs, and every fixture's fields: a project's own packs with what they import, else every pack (D68b). A fixture's fields are checked here, not its verdict: whether it resolves as it says is run by the test suite, for the packs Analects ships (D12).
--db |
Database file (default: ./graph.db) |
analects scope¶
analects scope add¶
Define a population: its membership rule, criteria and exclusions.
name |
|
--type |
|
--where |
|
--ids |
comma-separated entity ids or names |
--anchor |
members hold a current edge to this entity |
--anchor-edges |
which edges, e.g. developer,operator |
--criteria |
who belongs, in words, for new candidates |
--exclude |
a named exclusion: country!=US is checked by machine; any other text is a judgement rule |
--props |
|
--db |
Database file (default: ./graph.db) |
analects scope channel add¶
Add a place to look.
scope |
|
name |
|
--kind |
newsroom|tracker|register|press|importer|query|list |
--how |
a URL, a query, an importer name |
--role |
discovery (points at things) | evidence |
--cadence |
days between checks |
--local-only |
private source: its candidates are kept here and never exported |
--note |
|
--db |
Database file (default: ./graph.db) |
analects scope channel from-pack¶
Add the pack's standard places to look for this type, filled in with the scope's anchor and its members' counties. Re-run to refresh them.
scope |
|
--db |
Database file (default: ./graph.db) |
analects scope channel rm¶
Remove a channel. Past sweeps that checked it are kept.
scope |
|
name |
|
--db |
Database file (default: ./graph.db) |
analects scope list¶
List scopes and watchlists.
--db |
Database file (default: ./graph.db) |
analects scope rm¶
Remove a scope. Its sweeps and candidates are kept.
name |
|
--db |
Database file (default: ./graph.db) |
analects scope share¶
Write a scope into the dataset so others can work in it. From then on the file is its definition; local-only channels stay here (D47l).
name |
|
--dataset |
the dataset (default $ANALECTS_DATASET, else dataset: in analects.yaml) |
--json |
|
--db |
Database file (default: ./graph.db) |
analects scope show¶
The scope and where its sweep stands (the same as analects sweep plan).
name |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects serve¶
Run a hosted peer: the MCP tools over HTTP, for people who sign in with GitHub and are listed in the dataset's contributors.yaml (D51).
--config |
default analects-serve.yaml, else an old kg-serve.yaml (D69) |
analects sql¶
Read-only SQL over what we believe: current_values, one v_<type> view per type, and every table. A row cites claims; an answer is a pointer, not evidence (D50).
sql |
one SELECT |
--schema |
the tables and views you can read |
--param |
name=value for :name |
--limit |
|
--json |
|
--csv |
|
--db |
Database file (default: ./graph.db) |
analects sweep¶
analects sweep brief¶
The prompt for a research run over a scope: what we hold, what to find, where to look and what was tried — to hand to any researcher, who answers with an ordinary report (D55). With --channel or --due, one brief per channel (D46b).
scope |
|
--channel |
one channel's brief, for work split by channel; without it, one prompt for a research run over the scope |
--due |
a brief for every channel that is due |
--limit |
the prompt: at most this many gaps to find |
--out |
write the prompt to this file, or one brief per channel into this directory |
--claim |
claim each channel for its researcher first, so nothing else in this graph sweeps it (D47n) |
--hours |
how long a claim holds |
--researcher |
the agent that sweeps (default: one named for each channel); in a shared dataset, one it lists |
--json |
|
--db |
Database file (default: ./graph.db) |
analects sweep claim¶
Say you are sweeping a channel, so nothing else in this graph does. It runs out on its own; recording the sweep gives it back (D47n). When the dataset names a peer, the claim is held there, for everyone (D51c).
scope |
|
channel |
|
--hours |
how long it holds (default 4) |
--researcher |
the agent sweeping it (default: the channel's name, as its brief names the researcher) |
--lease |
renew this lease |
--json |
|
--db |
Database file (default: ./graph.db) |
analects sweep import-list¶
Record another organisation's list as candidates on a channel of its own, matched against the scope, and compared where you say (D67c). A list points; it is never evidence.
scope |
|
--channel |
the list's own channel |
--file |
CSV, or TSV when it ends .tsv, with a header row |
--name |
the column holding each name |
--field |
COLUMN=property: carried into the candidate, for the scope's exclusions |
--compare |
COLUMN=property: checked against what we hold for a matched member; a difference is kept as a lead |
--url |
where the list is published |
--how |
what the list is, for a new channel |
--by |
who is deciding (declared, not verified; default $ANALECTS_ACTOR, else unknown) |
--db |
Database file (default: ./graph.db) |
analects sweep plan¶
Everything a researcher needs for one sweep: criteria, members, due channels, open candidates, coverage gaps and the evidence rules (D45d).
scope |
|
--json |
|
--db |
Database file (default: ./graph.db) |
analects sweep record¶
Record one sweep or research run: where it looked, what it found, the pages it cites (fetched under fetch: record), and what it taught (D55).
scope |
|
--results |
JSON: channels checked, candidates, documents, and what a research run tried, left and learnt (outcomes, leads, lessons) |
--by |
who is deciding (declared, not verified; default $ANALECTS_ACTOR, else unknown) |
--db |
Database file (default: ./graph.db) |
analects sweep release¶
Give a claim back before it runs out.
scope |
|
channel |
|
--lease |
needed to release someone else's claim |
--db |
Database file (default: ./graph.db) |
analects trace¶
Where every value came from, and who let it in (D44b). Every claim about the entity, rejected ones included: the source, the exact words, the saved capture they were checked against, and each decision that merged or rejected it — who (declared), through what, how, and why.
entity |
|
--property |
trace one property only |
--json |
|
--db |
Database file (default: ./graph.db) |
analects truth¶
Stage compiled truth: an analyst's current view. Inference, never evidence.
entity |
|
--set |
2-6 sentences |
--db |
Database file (default: ./graph.db) |
analects unmerge¶
Stage the undoing of an entity merge. It waits for analects merge <id>.
decision |
the dc_… id of the merge |
--why |
|
--db |
Database file (default: ./graph.db) |
analects usage¶
analects usage add¶
Disclose what a run used, after it was recorded: counts and how they are known, "not known" included. It travels with the dataset like a sweep (D60).
scope |
|
--usage |
the disclosure: JSON, one entry per model (see analects usage read) |
--read |
or read it from a tool's log: claude-code | gemini-cli | api |
--file |
the log, with --read |
--since |
|
--until |
|
--sweep |
the run it describes |
--changeset |
or the work it paid for |
--label |
what the run was, in a few words |
--part |
research (default), or tooling: a session mostly spent building the tool, shown apart |
--json |
|
--db |
Database file (default: ./graph.db) |
analects usage read¶
Read what a run used out of a tool's own log, as the disclosure analects usage add takes. Counts only. Check it before recording it.
reader |
claude-code | gemini-cli | api |
files |
the tool's log file(s) |
--since |
from this time (ISO) |
--until |
before this time (ISO) |
analects views¶
analects views browse¶
Browse what the graph believes in Datasette, on this machine only (127.0.0.1): a page per type, every value with its standing, and each entity's values with the quotes behind them (D54). Needs the serve extra.
--port |
|
--db |
Database file (default: ./graph.db) |
analects views export¶
Write current values, a table per type and the saved queries to a standalone SQLite file, with metadata.json for Datasette. It may hold local-only rows: keep it on this machine. With --site, write a public read-only site for one scope instead, built only from what a dataset may carry.
dest |
a new .db file, or with --site a folder for the pages |
--force |
replace an earlier export |
--site |
a public read-only site for one scope: static pages, nothing kept local, no one who wrote in named (D57) |
--scope |
with --site: what it publishes |
--contact |
with --site: where a reader sends a correction, an email address or a web page (D66g) |
--db |
Database file (default: ./graph.db) |
analects watch¶
analects watch add¶
Save a watchlist: a query (re-run each time) and/or fixed entities.
name |
|
--type |
|
--where |
|
--ids |
comma-separated entity ids or names |
--props |
|
--db |
Database file (default: ./graph.db) |
analects watch list¶
List watchlists.
--json |
|
--db |
Database file (default: ./graph.db) |
analects watch rm¶
Remove a watchlist.
name |
|
--db |
Database file (default: ./graph.db) |
analects whoami¶
Who you are writing as, this database's instance id, and your open changeset.
--json |
|
--db |
Database file (default: ./graph.db) |
analects write¶
Stage a batch of writes from a file. All of it lands, or none of it does.
--ops |
JSON: a list of ops, or {"ops": [...]} |
--json |
|
--db |
Database file (default: ./graph.db) |