Skip to main content

Module output

Module output 

Source

Structs§

ListOptions
Pagination and field-selection options shared by all list commands.

Enums§

OutputFormat

Functions§

apply_pagination
Apply offset then limit to a row slice in place.
format_error_json
Format a structured error as the clispec v0.2 envelope.
format_json
Format rows as a clispec v0.2 items envelope: {"items": [...], "total": N}.
format_table
is_tty
select_fields
Restrict headers and rows to the comma-separated columns named in opts.fields.