OpenSite/Reference/Commands/Inspect a document: Difference between revisions
BathAfrica (talk | contribs) Publish Cursor documentation reconciled with OpenSite source 77c3fee; tests not rerun |
BathAfrica (talk | contribs) Use BathAfrica sidebar contents without duplicate inline contents box |
||
| Line 1: | Line 1: | ||
__NOTOC__ | |||
{{BathAfrica Command | {{BathAfrica Command | ||
|review=Development documentation for OpenSite 0.0.1, source snapshot 77c3fee (Phase 13C). Reviewed against implementation on 29 October 2026. Tests and the Windows desktop were not rerun for this publication; this is not a released-product support claim. | |review=Development documentation for OpenSite 0.0.1, source snapshot 77c3fee (Phase 13C). Reviewed against implementation on 29 October 2026. Tests and the Windows desktop were not rerun for this publication; this is not a released-product support claim. | ||
Revision as of 13:10, 29 October 2026
Print the objects and properties in a saved document.
- Stable identifier
cli.document.inspect
Implementation milestone
Roadmap phase 1 (historical Phase 1).
Units
Quantity properties print the canonical SI value and, when a unit id is stored, the value in that unit.
Terminal example
Python access
The CLI verb has no separate function. examples/python/document_edit.py reads a property with document.property(object, name) on the handle returned by document.create_section.
Output
One object line and one property line per property, on stdout. An opaque object prints opaque 1 and does not expand properties.
Errors
A missing file exits 1. The message is the load status on stderr.
Limitations
Inspect reads the saved file without recomputing or modifying it. The desktop also has an object tree and property inspector; this page describes the terminal inspection command.
Verification evidence
Repository evidence references (not rerun for this publication): CTest cli.document.
Documentation basis
Source-reviewed against development commit 77c3fee13944bcc4b5d487c77eb1f82fbe4c6ea7, branch feature/phase-13c-properties-python-expressions. This review inspected the implementation and repository evidence; it did not run the Windows application or repeat CTest.
src/cli/main.cppsrc/cli/document_commands.cppsrc/cli/preference_commands.cppsrc/application/builtins.cpp