topmark.presentation.text.version¶
topmark / presentation / text / version
TEXT (ANSI-styled) renderers for the topmark version command.
These helpers only render the content, they do not write to the console.
Notes
Machine-readable formats (JSON/NDJSON) are handled via the version machine serializers and the generic CLI machine emitter.
render_version_text ¶
Render topmark version output in the TEXT (ANSI-styled) format.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
report
|
VersionHumanReport
|
The human version information report. |
required |
Returns:
| Type | Description |
|---|---|
str
|
A text document as a single string. |