Skip to main content

Module output

Module output 

Source

Modules§

exit_codes

Structs§

OutputConfig

Enums§

OutputFormat

Functions§

kv_block
Render a two-column key/value block with aligned values.
mask_credential
Mask a credential for safe display. Keeps first 6 and last 4 chars for long values; fully obscures short values.
relative_time
Format an ISO 8601 timestamp as a human-friendly relative time (“2m ago”). Falls back to the raw string if parsing fails.
table
Render a simple table with header and data rows.