Skip to main content

Global syntax

anarlog [--base DIR] [--db-path FILE] [--json] <command>
OptionEnvironment variableBehavior
--base DIRANARLOG_BASEUse DIR/app.db.
--db-path FILEANARLOG_DB_PATHUse an explicit SQLite file.
--jsonEmit a versioned JSON response or machine-readable JSON error.
--db-path takes precedence over --base. Without either option, the CLI uses Anarlog’s platform application-data directory and recognized legacy locations.

Meeting commands

CommandOptionsResult
meetings list--query TEXT, --series-id ID, --limit 1..200, --offset NUMBERMeetings ordered by the application query layer. Defaults to 20 results.
meetings get IDMetadata, canonical note, summaries, participants, and action items.
meetings note ID--kind note|summary|allThe selected note documents. Defaults to note.
meetings transcript ID--limit 1..500, --offset NUMBERA bounded transcript word page. Defaults to 200 words from offset 0.
meetings history ID--limit 1..200, --offset NUMBERA page of meetings from the same recurring series. Defaults to 20 from offset 0.
meetings export ID--format markdown|json, --output FILE, --forceA complete meeting export, including transcripts. Defaults to Markdown on stdout. Existing files require --force.

JSON response contract

Successful --json responses contain:
FieldMeaning
schema_versionCLI JSON contract version. Currently 1.
commandStable command identifier such as meetings.list.
dataCommand result.
paginationPage metadata when the command is paginated.
Pagination includes offset, limit, returned, optional total, and optional next_offset.

Doctor command

anarlog --json doctor
Checks the resolved database path, read-only access, and required schema without changing data. It exits with status 0 when ready is true and status 1 when ready is false.

MCP command

anarlog mcp
Starts the read-only MCP server over stdio. Do not write other output to the server’s stdout.

Help and version

anarlog --help
anarlog meetings --help
anarlog meetings list --help
anarlog --version