RDF/XML serialization is deferred.
{
"@context": {
"schema": "https://schema.org/",
"wiki": "https://wazootech.github.io/wiki/",
"foaf": "http://xmlns.com/foaf/0.1/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"owl": "http://www.w3.org/2002/07/owl#",
"dc": "http://purl.org/dc/elements/1.1/",
"dcterms": "http://purl.org/dc/terms/",
"sh": "http://www.w3.org/ns/shacl#",
"wazoo": "https://schema.wazoo.dev/"
},
"@id": "wiki:wiki_file_show",
"@type": "schema:TechArticle",
"schema:articleBody": "# `wiki file show`\n\nPrint one page the way the engine reads it: parsed frontmatter, the same frontmatter as compacted JSON-LD, the heading outline, the pages it links to, and the SHA-256 of the file's bytes. That hash is what a [wiki edit](wiki_edit.md) op takes as `expect`, so reading a page with `show` and then editing it is safe against another agent changing it in between.\n\n## Usage\n\n```bash\nwiki file show wiki/Alpha.md\nwiki file show wiki/Alpha.md --json\nwiki file show wiki/Alpha.md --field schema:headline\nwiki -c docs/wiki.yml show docs/wiki/SPARQL.md --json\n```\n\n`PATH` is relative to the config root, not the working directory, exactly as in [wiki edit](wiki_edit.md), so a path from `show` pastes into an edit plan unchanged. Any wiki document resolves, including pages from installed sources, which are readable but never editable.\n\n## Options\n\n| Flag | Default | Description |\n| ---------------- | ------- | ----------------------------------------------------------------------- |\n| `--field KEY` | — | Print only this frontmatter field; exits `1` when the field is not set. |\n| `-f`, `--format` | `text` | `text` or `json`. With `--field`, `json` prints the value as JSON. |\n| `--json` | — | Shorthand for `--format json`. |\n\n`KEY` is the literal frontmatter key, CURIE included (`schema:headline`), not an expanded IRI. When the frontmatter does not set it, a derived `schema:headline`, `schema:dateCreated`, or `schema:dateModified` answers instead.\n\n## JSON output\n\n`--json` is the stable contract; the text form is for people.\n\n```json\n{\n \"version\": 1,\n \"path\": \"wiki/Alpha.md\",\n \"route\": \"Alpha\",\n \"hash\": \"3f0c…\",\n \"frontmatter\": { \"@type\": \"schema:Article\", \"schema:headline\": \"Alpha\" },\n \"jsonld\": { \"@context\": { \"…\": \"…\" }, \"@graph\": [\"…\"] },\n \"derived\": {\n \"schema:dateCreated\": \"2026-02-03T04:05:06Z\",\n \"schema:dateModified\": \"2026-03-01T10:00:00Z\"\n },\n \"dateSource\": \"git\",\n \"headings\": [\n { \"level\": 1, \"text\": \"Alpha\", \"slug\": \"alpha\", \"line\": 6 }\n ],\n \"links\": [\n { \"route\": \"Beta\", \"path\": \"wiki/Beta.md\" }\n ]\n}\n```\n\n- `frontmatter` is exactly what the file says; it never gains derived keys, so it stays safe to edit from.\n- `derived` holds the values the graph derives and adds because the frontmatter does not set them ([wiki fix](wiki_fix.md#derived-metadata)): here the headline is absent because `schema:headline` is set explicitly. `dateSource` is `git`, `mtime`, or `null`. The text form lists them under `derived:` with their source.\n- `jsonld` is what [wiki export](wiki_export.md) writes with `-f json-ld -m compacted` for this one file, derived values included.\n- `headings[].line` counts from the top of the file, frontmatter included; `slug` is the anchor a `#fragment` link uses. Headings inside fenced code are not headings.\n- `links` lists each linked page once, in first-link order, by the same rules [wiki lint](wiki_lint.md) uses for backlinks. `path` is `null` when no document has the route.\n\n## Exit codes\n\n| Code | Meaning |\n| ---- | ------------------------------------------------------- |\n| `0` | Printed. |\n| `1` | `--field` names a field the page does not set. |\n| `2` | Usage error, including a `PATH` that is not a document. |\n\n## See also\n\n- [wiki file refs](wiki_file_refs.md) — who links to a page\n- [wiki edit](wiki_edit.md) — validated, atomic page edits\n- [wiki export](wiki_export.md) — whole-wiki RDF and JSON-LD",
"schema:dateCreated": {
"@type": "xsd:dateTime",
"@value": "2026-10-31T23:19:03Z"
},
"schema:dateModified": {
"@type": "xsd:dateTime",
"@value": "2026-10-31T23:19:03Z"
},
"schema:description": "Describe one page as the engine sees it, with the content hash an edit expects.",
"schema:headline": "wiki file show"
}
@prefix schema: <https://schema.org/>.
@prefix wiki: <https://wazootech.github.io/wiki/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix wazoo: <https://schema.wazoo.dev/>.
wiki:wiki_file_show a schema:TechArticle;
schema:description "Describe one page as the engine sees it, with the content hash an edit expects.";
schema:articleBody "# `wiki file show`\n\nPrint one page the way the engine reads it: parsed frontmatter, the same frontmatter as compacted JSON-LD, the heading outline, the pages it links to, and the SHA-256 of the file's bytes. That hash is what a [wiki edit](wiki_edit.md) op takes as `expect`, so reading a page with `show` and then editing it is safe against another agent changing it in between.\n\n## Usage\n\n```bash\nwiki file show wiki/Alpha.md\nwiki file show wiki/Alpha.md --json\nwiki file show wiki/Alpha.md --field schema:headline\nwiki -c docs/wiki.yml show docs/wiki/SPARQL.md --json\n```\n\n`PATH` is relative to the config root, not the working directory, exactly as in [wiki edit](wiki_edit.md), so a path from `show` pastes into an edit plan unchanged. Any wiki document resolves, including pages from installed sources, which are readable but never editable.\n\n## Options\n\n| Flag | Default | Description |\n| ---------------- | ------- | ----------------------------------------------------------------------- |\n| `--field KEY` | — | Print only this frontmatter field; exits `1` when the field is not set. |\n| `-f`, `--format` | `text` | `text` or `json`. With `--field`, `json` prints the value as JSON. |\n| `--json` | — | Shorthand for `--format json`. |\n\n`KEY` is the literal frontmatter key, CURIE included (`schema:headline`), not an expanded IRI. When the frontmatter does not set it, a derived `schema:headline`, `schema:dateCreated`, or `schema:dateModified` answers instead.\n\n## JSON output\n\n`--json` is the stable contract; the text form is for people.\n\n```json\n{\n \"version\": 1,\n \"path\": \"wiki/Alpha.md\",\n \"route\": \"Alpha\",\n \"hash\": \"3f0c…\",\n \"frontmatter\": { \"@type\": \"schema:Article\", \"schema:headline\": \"Alpha\" },\n \"jsonld\": { \"@context\": { \"…\": \"…\" }, \"@graph\": [\"…\"] },\n \"derived\": {\n \"schema:dateCreated\": \"2026-02-03T04:05:06Z\",\n \"schema:dateModified\": \"2026-03-01T10:00:00Z\"\n },\n \"dateSource\": \"git\",\n \"headings\": [\n { \"level\": 1, \"text\": \"Alpha\", \"slug\": \"alpha\", \"line\": 6 }\n ],\n \"links\": [\n { \"route\": \"Beta\", \"path\": \"wiki/Beta.md\" }\n ]\n}\n```\n\n- `frontmatter` is exactly what the file says; it never gains derived keys, so it stays safe to edit from.\n- `derived` holds the values the graph derives and adds because the frontmatter does not set them ([wiki fix](wiki_fix.md#derived-metadata)): here the headline is absent because `schema:headline` is set explicitly. `dateSource` is `git`, `mtime`, or `null`. The text form lists them under `derived:` with their source.\n- `jsonld` is what [wiki export](wiki_export.md) writes with `-f json-ld -m compacted` for this one file, derived values included.\n- `headings[].line` counts from the top of the file, frontmatter included; `slug` is the anchor a `#fragment` link uses. Headings inside fenced code are not headings.\n- `links` lists each linked page once, in first-link order, by the same rules [wiki lint](wiki_lint.md) uses for backlinks. `path` is `null` when no document has the route.\n\n## Exit codes\n\n| Code | Meaning |\n| ---- | ------------------------------------------------------- |\n| `0` | Printed. |\n| `1` | `--field` names a field the page does not set. |\n| `2` | Usage error, including a `PATH` that is not a document. |\n\n## See also\n\n- [wiki file refs](wiki_file_refs.md) — who links to a page\n- [wiki edit](wiki_edit.md) — validated, atomic page edits\n- [wiki export](wiki_export.md) — whole-wiki RDF and JSON-LD";
schema:headline "wiki file show";
schema:dateCreated "2026-10-31T23:19:03Z"^^xsd:dateTime;
schema:dateModified "2026-10-31T23:19:03Z"^^xsd:dateTime.
@prefix schema: <https://schema.org/>.
@prefix wiki: <https://wazootech.github.io/wiki/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix wazoo: <https://schema.wazoo.dev/>.
wiki:wiki_file_show a schema:TechArticle;
schema:description "Describe one page as the engine sees it, with the content hash an edit expects.";
schema:articleBody "# `wiki file show`\n\nPrint one page the way the engine reads it: parsed frontmatter, the same frontmatter as compacted JSON-LD, the heading outline, the pages it links to, and the SHA-256 of the file's bytes. That hash is what a [wiki edit](wiki_edit.md) op takes as `expect`, so reading a page with `show` and then editing it is safe against another agent changing it in between.\n\n## Usage\n\n```bash\nwiki file show wiki/Alpha.md\nwiki file show wiki/Alpha.md --json\nwiki file show wiki/Alpha.md --field schema:headline\nwiki -c docs/wiki.yml show docs/wiki/SPARQL.md --json\n```\n\n`PATH` is relative to the config root, not the working directory, exactly as in [wiki edit](wiki_edit.md), so a path from `show` pastes into an edit plan unchanged. Any wiki document resolves, including pages from installed sources, which are readable but never editable.\n\n## Options\n\n| Flag | Default | Description |\n| ---------------- | ------- | ----------------------------------------------------------------------- |\n| `--field KEY` | — | Print only this frontmatter field; exits `1` when the field is not set. |\n| `-f`, `--format` | `text` | `text` or `json`. With `--field`, `json` prints the value as JSON. |\n| `--json` | — | Shorthand for `--format json`. |\n\n`KEY` is the literal frontmatter key, CURIE included (`schema:headline`), not an expanded IRI. When the frontmatter does not set it, a derived `schema:headline`, `schema:dateCreated`, or `schema:dateModified` answers instead.\n\n## JSON output\n\n`--json` is the stable contract; the text form is for people.\n\n```json\n{\n \"version\": 1,\n \"path\": \"wiki/Alpha.md\",\n \"route\": \"Alpha\",\n \"hash\": \"3f0c…\",\n \"frontmatter\": { \"@type\": \"schema:Article\", \"schema:headline\": \"Alpha\" },\n \"jsonld\": { \"@context\": { \"…\": \"…\" }, \"@graph\": [\"…\"] },\n \"derived\": {\n \"schema:dateCreated\": \"2026-02-03T04:05:06Z\",\n \"schema:dateModified\": \"2026-03-01T10:00:00Z\"\n },\n \"dateSource\": \"git\",\n \"headings\": [\n { \"level\": 1, \"text\": \"Alpha\", \"slug\": \"alpha\", \"line\": 6 }\n ],\n \"links\": [\n { \"route\": \"Beta\", \"path\": \"wiki/Beta.md\" }\n ]\n}\n```\n\n- `frontmatter` is exactly what the file says; it never gains derived keys, so it stays safe to edit from.\n- `derived` holds the values the graph derives and adds because the frontmatter does not set them ([wiki fix](wiki_fix.md#derived-metadata)): here the headline is absent because `schema:headline` is set explicitly. `dateSource` is `git`, `mtime`, or `null`. The text form lists them under `derived:` with their source.\n- `jsonld` is what [wiki export](wiki_export.md) writes with `-f json-ld -m compacted` for this one file, derived values included.\n- `headings[].line` counts from the top of the file, frontmatter included; `slug` is the anchor a `#fragment` link uses. Headings inside fenced code are not headings.\n- `links` lists each linked page once, in first-link order, by the same rules [wiki lint](wiki_lint.md) uses for backlinks. `path` is `null` when no document has the route.\n\n## Exit codes\n\n| Code | Meaning |\n| ---- | ------------------------------------------------------- |\n| `0` | Printed. |\n| `1` | `--field` names a field the page does not set. |\n| `2` | Usage error, including a `PATH` that is not a document. |\n\n## See also\n\n- [wiki file refs](wiki_file_refs.md) — who links to a page\n- [wiki edit](wiki_edit.md) — validated, atomic page edits\n- [wiki export](wiki_export.md) — whole-wiki RDF and JSON-LD";
schema:headline "wiki file show";
schema:dateCreated "2026-10-31T23:19:03Z"^^xsd:dateTime;
schema:dateModified "2026-10-31T23:19:03Z"^^xsd:dateTime.
<https://wazootech.github.io/wiki/wiki_file_show> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://schema.org/TechArticle> .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/description> "Describe one page as the engine sees it, with the content hash an edit expects." .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/articleBody> "# `wiki file show`\n\nPrint one page the way the engine reads it: parsed frontmatter, the same frontmatter as compacted JSON-LD, the heading outline, the pages it links to, and the SHA-256 of the file's bytes. That hash is what a [wiki edit](wiki_edit.md) op takes as `expect`, so reading a page with `show` and then editing it is safe against another agent changing it in between.\n\n## Usage\n\n```bash\nwiki file show wiki/Alpha.md\nwiki file show wiki/Alpha.md --json\nwiki file show wiki/Alpha.md --field schema:headline\nwiki -c docs/wiki.yml show docs/wiki/SPARQL.md --json\n```\n\n`PATH` is relative to the config root, not the working directory, exactly as in [wiki edit](wiki_edit.md), so a path from `show` pastes into an edit plan unchanged. Any wiki document resolves, including pages from installed sources, which are readable but never editable.\n\n## Options\n\n| Flag | Default | Description |\n| ---------------- | ------- | ----------------------------------------------------------------------- |\n| `--field KEY` | — | Print only this frontmatter field; exits `1` when the field is not set. |\n| `-f`, `--format` | `text` | `text` or `json`. With `--field`, `json` prints the value as JSON. |\n| `--json` | — | Shorthand for `--format json`. |\n\n`KEY` is the literal frontmatter key, CURIE included (`schema:headline`), not an expanded IRI. When the frontmatter does not set it, a derived `schema:headline`, `schema:dateCreated`, or `schema:dateModified` answers instead.\n\n## JSON output\n\n`--json` is the stable contract; the text form is for people.\n\n```json\n{\n \"version\": 1,\n \"path\": \"wiki/Alpha.md\",\n \"route\": \"Alpha\",\n \"hash\": \"3f0c…\",\n \"frontmatter\": { \"@type\": \"schema:Article\", \"schema:headline\": \"Alpha\" },\n \"jsonld\": { \"@context\": { \"…\": \"…\" }, \"@graph\": [\"…\"] },\n \"derived\": {\n \"schema:dateCreated\": \"2026-02-03T04:05:06Z\",\n \"schema:dateModified\": \"2026-03-01T10:00:00Z\"\n },\n \"dateSource\": \"git\",\n \"headings\": [\n { \"level\": 1, \"text\": \"Alpha\", \"slug\": \"alpha\", \"line\": 6 }\n ],\n \"links\": [\n { \"route\": \"Beta\", \"path\": \"wiki/Beta.md\" }\n ]\n}\n```\n\n- `frontmatter` is exactly what the file says; it never gains derived keys, so it stays safe to edit from.\n- `derived` holds the values the graph derives and adds because the frontmatter does not set them ([wiki fix](wiki_fix.md#derived-metadata)): here the headline is absent because `schema:headline` is set explicitly. `dateSource` is `git`, `mtime`, or `null`. The text form lists them under `derived:` with their source.\n- `jsonld` is what [wiki export](wiki_export.md) writes with `-f json-ld -m compacted` for this one file, derived values included.\n- `headings[].line` counts from the top of the file, frontmatter included; `slug` is the anchor a `#fragment` link uses. Headings inside fenced code are not headings.\n- `links` lists each linked page once, in first-link order, by the same rules [wiki lint](wiki_lint.md) uses for backlinks. `path` is `null` when no document has the route.\n\n## Exit codes\n\n| Code | Meaning |\n| ---- | ------------------------------------------------------- |\n| `0` | Printed. |\n| `1` | `--field` names a field the page does not set. |\n| `2` | Usage error, including a `PATH` that is not a document. |\n\n## See also\n\n- [wiki file refs](wiki_file_refs.md) — who links to a page\n- [wiki edit](wiki_edit.md) — validated, atomic page edits\n- [wiki export](wiki_export.md) — whole-wiki RDF and JSON-LD" .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/headline> "wiki file show" .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/dateCreated> "2026-10-31T23:19:03Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/dateModified> "2026-10-31T23:19:03Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
@prefix schema: <https://schema.org/>.
@prefix wiki: <https://wazootech.github.io/wiki/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix wazoo: <https://schema.wazoo.dev/>.
wiki:wiki_file_show a schema:TechArticle;
schema:description "Describe one page as the engine sees it, with the content hash an edit expects.";
schema:articleBody "# `wiki file show`\n\nPrint one page the way the engine reads it: parsed frontmatter, the same frontmatter as compacted JSON-LD, the heading outline, the pages it links to, and the SHA-256 of the file's bytes. That hash is what a [wiki edit](wiki_edit.md) op takes as `expect`, so reading a page with `show` and then editing it is safe against another agent changing it in between.\n\n## Usage\n\n```bash\nwiki file show wiki/Alpha.md\nwiki file show wiki/Alpha.md --json\nwiki file show wiki/Alpha.md --field schema:headline\nwiki -c docs/wiki.yml show docs/wiki/SPARQL.md --json\n```\n\n`PATH` is relative to the config root, not the working directory, exactly as in [wiki edit](wiki_edit.md), so a path from `show` pastes into an edit plan unchanged. Any wiki document resolves, including pages from installed sources, which are readable but never editable.\n\n## Options\n\n| Flag | Default | Description |\n| ---------------- | ------- | ----------------------------------------------------------------------- |\n| `--field KEY` | — | Print only this frontmatter field; exits `1` when the field is not set. |\n| `-f`, `--format` | `text` | `text` or `json`. With `--field`, `json` prints the value as JSON. |\n| `--json` | — | Shorthand for `--format json`. |\n\n`KEY` is the literal frontmatter key, CURIE included (`schema:headline`), not an expanded IRI. When the frontmatter does not set it, a derived `schema:headline`, `schema:dateCreated`, or `schema:dateModified` answers instead.\n\n## JSON output\n\n`--json` is the stable contract; the text form is for people.\n\n```json\n{\n \"version\": 1,\n \"path\": \"wiki/Alpha.md\",\n \"route\": \"Alpha\",\n \"hash\": \"3f0c…\",\n \"frontmatter\": { \"@type\": \"schema:Article\", \"schema:headline\": \"Alpha\" },\n \"jsonld\": { \"@context\": { \"…\": \"…\" }, \"@graph\": [\"…\"] },\n \"derived\": {\n \"schema:dateCreated\": \"2026-02-03T04:05:06Z\",\n \"schema:dateModified\": \"2026-03-01T10:00:00Z\"\n },\n \"dateSource\": \"git\",\n \"headings\": [\n { \"level\": 1, \"text\": \"Alpha\", \"slug\": \"alpha\", \"line\": 6 }\n ],\n \"links\": [\n { \"route\": \"Beta\", \"path\": \"wiki/Beta.md\" }\n ]\n}\n```\n\n- `frontmatter` is exactly what the file says; it never gains derived keys, so it stays safe to edit from.\n- `derived` holds the values the graph derives and adds because the frontmatter does not set them ([wiki fix](wiki_fix.md#derived-metadata)): here the headline is absent because `schema:headline` is set explicitly. `dateSource` is `git`, `mtime`, or `null`. The text form lists them under `derived:` with their source.\n- `jsonld` is what [wiki export](wiki_export.md) writes with `-f json-ld -m compacted` for this one file, derived values included.\n- `headings[].line` counts from the top of the file, frontmatter included; `slug` is the anchor a `#fragment` link uses. Headings inside fenced code are not headings.\n- `links` lists each linked page once, in first-link order, by the same rules [wiki lint](wiki_lint.md) uses for backlinks. `path` is `null` when no document has the route.\n\n## Exit codes\n\n| Code | Meaning |\n| ---- | ------------------------------------------------------- |\n| `0` | Printed. |\n| `1` | `--field` names a field the page does not set. |\n| `2` | Usage error, including a `PATH` that is not a document. |\n\n## See also\n\n- [wiki file refs](wiki_file_refs.md) — who links to a page\n- [wiki edit](wiki_edit.md) — validated, atomic page edits\n- [wiki export](wiki_export.md) — whole-wiki RDF and JSON-LD";
schema:headline "wiki file show";
schema:dateCreated "2026-10-31T23:19:03Z"^^xsd:dateTime;
schema:dateModified "2026-10-31T23:19:03Z"^^xsd:dateTime.
<https://wazootech.github.io/wiki/wiki_file_show> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://schema.org/TechArticle> .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/description> "Describe one page as the engine sees it, with the content hash an edit expects." .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/articleBody> """# `wiki file show`
Print one page the way the engine reads it: parsed frontmatter, the same frontmatter as compacted JSON-LD, the heading outline, the pages it links to, and the SHA-256 of the file's bytes. That hash is what a [wiki edit](wiki_edit.md) op takes as `expect`, so reading a page with `show` and then editing it is safe against another agent changing it in between.
## Usage
```bash
wiki file show wiki/Alpha.md
wiki file show wiki/Alpha.md --json
wiki file show wiki/Alpha.md --field schema:headline
wiki -c docs/wiki.yml show docs/wiki/SPARQL.md --json
```
`PATH` is relative to the config root, not the working directory, exactly as in [wiki edit](wiki_edit.md), so a path from `show` pastes into an edit plan unchanged. Any wiki document resolves, including pages from installed sources, which are readable but never editable.
## Options
| Flag | Default | Description |
| ---------------- | ------- | ----------------------------------------------------------------------- |
| `--field KEY` | — | Print only this frontmatter field; exits `1` when the field is not set. |
| `-f`, `--format` | `text` | `text` or `json`. With `--field`, `json` prints the value as JSON. |
| `--json` | — | Shorthand for `--format json`. |
`KEY` is the literal frontmatter key, CURIE included (`schema:headline`), not an expanded IRI. When the frontmatter does not set it, a derived `schema:headline`, `schema:dateCreated`, or `schema:dateModified` answers instead.
## JSON output
`--json` is the stable contract; the text form is for people.
```json
{
"version": 1,
"path": "wiki/Alpha.md",
"route": "Alpha",
"hash": "3f0c…",
"frontmatter": { "@type": "schema:Article", "schema:headline": "Alpha" },
"jsonld": { "@context": { "…": "…" }, "@graph": ["…"] },
"derived": {
"schema:dateCreated": "2026-02-03T04:05:06Z",
"schema:dateModified": "2026-03-01T10:00:00Z"
},
"dateSource": "git",
"headings": [
{ "level": 1, "text": "Alpha", "slug": "alpha", "line": 6 }
],
"links": [
{ "route": "Beta", "path": "wiki/Beta.md" }
]
}
```
- `frontmatter` is exactly what the file says; it never gains derived keys, so it stays safe to edit from.
- `derived` holds the values the graph derives and adds because the frontmatter does not set them ([wiki fix](wiki_fix.md#derived-metadata)): here the headline is absent because `schema:headline` is set explicitly. `dateSource` is `git`, `mtime`, or `null`. The text form lists them under `derived:` with their source.
- `jsonld` is what [wiki export](wiki_export.md) writes with `-f json-ld -m compacted` for this one file, derived values included.
- `headings[].line` counts from the top of the file, frontmatter included; `slug` is the anchor a `#fragment` link uses. Headings inside fenced code are not headings.
- `links` lists each linked page once, in first-link order, by the same rules [wiki lint](wiki_lint.md) uses for backlinks. `path` is `null` when no document has the route.
## Exit codes
| Code | Meaning |
| ---- | ------------------------------------------------------- |
| `0` | Printed. |
| `1` | `--field` names a field the page does not set. |
| `2` | Usage error, including a `PATH` that is not a document. |
## See also
- [wiki file refs](wiki_file_refs.md) — who links to a page
- [wiki edit](wiki_edit.md) — validated, atomic page edits
- [wiki export](wiki_export.md) — whole-wiki RDF and JSON-LD""" .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/headline> "wiki file show" .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/dateCreated> "2026-10-31T23:19:03Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<https://wazootech.github.io/wiki/wiki_file_show> <https://schema.org/dateModified> "2026-10-31T23:19:03Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .