Documentation
¶
Overview ¶
Command coroner is the coroner CLI. It builds a cli.App from the process and exits with cli.Run's code.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
cli
Package cli holds coroner's cobra commands and Run, which executes them against an App.
|
Package cli holds coroner's cobra commands and Run, which executes them against an App. |
|
config
Package config resolves where coroner's database and config file live, and the user's defaults.
|
Package config resolves where coroner's database and config file live, and the user's defaults. |
|
export
Package export is coroner's public machine representation: the canonical JSON object for each timeline, source, event, annotation, attachment and link, the versioned export envelope and JSONL record stream that carry them, and the one encoder and decoder for both.
|
Package export is coroner's public machine representation: the canonical JSON object for each timeline, source, event, annotation, attachment and link, the versioned export envelope and JSONL record stream that carry them, and the one encoder and decoder for both. |
|
graphics
Package graphics decides whether a terminal can show images inline and builds what it sends one: the Kitty graphics escape sequences, the placeholder cells an image shows through, and the text that stands in for an image where none can show.
|
Package graphics decides whether a terminal can show images inline and builds what it sends one: the Kitty graphics escape sequences, the placeholder cells an image shows through, and the text that stands in for an image where none can show. |
|
store
Package store is coroner's SQLite store.
|
Package store is coroner's SQLite store. |
|
timeline
Package timeline is coroner's domain model: timelines, events, annotations, attachments and sources, their validation, the canonical instant format and event ordering.
|
Package timeline is coroner's domain model: timelines, events, annotations, attachments and sources, their validation, the canonical instant format and event ordering. |
|
timeparse
Package timeparse resolves the time a person or agent typed into an instant, the offset it was read in, its precision and whether it was approximate.
|
Package timeparse resolves the time a person or agent typed into an instant, the offset it was read in, its precision and whether it was approximate. |
|
timetext
Package timetext is how an event's time reads to a person: the clock to its precision, the day it falls on, its interval's end and the zone it is shown in.
|
Package timetext is how an event's time reads to a person: the clock to its precision, the day it falls on, its interval's end and the zone it is shown in. |
|
tools/compatfixture
command
Command compatfixture writes a new coroner database holding timelines, events, annotations and sources.
|
Command compatfixture writes a new coroner database holding timelines, events, annotations and sources. |
|
tools/compatfixture/fixture
Package fixture writes the database the store's compatibility spec reads: timelines, events, annotations and sources, written through the store API alone.
|
Package fixture writes the database the store's compatibility spec reads: timelines, events, annotations and sources, written through the store API alone. |
|
tools/docgen
command
Command docgen writes coroner's CLI reference into docs/reference/cli, one Markdown file per command and per help topic.
|
Command docgen writes coroner's CLI reference into docs/reference/cli, one Markdown file per command and per help topic. |
|
tools/release
command
Command release does the deterministic steps of a coroner release for the /release-coroner skill: each subcommand prints exactly one JSON object, {"ok":true,...} on success or {"ok":false,"error":{"code","message"}} on failure, and exits 0 on success, 1 on a failure and 2 on a usage error.
|
Command release does the deterministic steps of a coroner release for the /release-coroner skill: each subcommand prints exactly one JSON object, {"ok":true,...} on success or {"ok":false,"error":{"code","message"}} on failure, and exits 0 on success, 1 on a failure and 2 on a usage error. |
|
tools/schemagen
command
Command schemagen writes the JSON Schema of coroner's export format, generated from the internal/export types, to schema/export-v1.schema.json.
|
Command schemagen writes the JSON Schema of coroner's export format, generated from the internal/export types, to schema/export-v1.schema.json. |
|
viewer
Package viewer is the full-screen viewer 'coroner timeline view' opens and the picker 'coroner timeline list' opens on a terminal.
|
Package viewer is the full-screen viewer 'coroner timeline view' opens and the picker 'coroner timeline list' opens on a terminal. |
|
Package skills embeds the agent skills that ship inside coroner.
|
Package skills embeds the agent skills that ship inside coroner. |
Click to show internal directories.
Click to hide internal directories.