Skip to main content

Module document

Module document 

Source
Available on crate feature document only.
Expand description

Semantic presentation document shared by every ctl CLI.

Consumers describe information with these types. Terminal layout, borders, wrapping, color, and streams remain ctl-core implementation details.

Structs§

Document
A composable human presentation.
Fields
Key/value rows.
Notice
A semantic notice.
Rule
A horizontal divider.
Section
A titled nested document.
Span
One semantic text span.
Stacked
Narrow table layout policy.
Table
A semantic table independent of its rendering engine.
Text
Styled text assembled from semantic spans.

Enums§

Block
One semantic presentation block.
NoticeLevel
Notice severity.
Role
Meaning carried by a text span. A renderer chooses the visual style.