Skip to main content

Module output

Module output 

Source
Expand description

Output formatting for table and JSON modes.

Provides helpers to render API responses as either a UTF-8 styled terminal table (with colored status) or raw JSON.

Structs§

Deleted
Outcome of a delete command.

Functions§

api_keys_table
Render a list of API keys as a table.
audit_logs_table
Render a list of audit log entries as a table.
created_api_key_table
Render a freshly created API key, including its one-time raw secret.
deleted_table
Render a deletion report as a table.
key_versions_table
Render the encryption key ring status as a table.
print_json
Render a value as pretty JSON to stdout.
print_output
Convenience wrapper: render to stdout.
render_output
Render a value as JSON or table into the given writer.
report_deletion
Report a deletion on stdout, as a table or as JSON.
run_detail_table
Render a single run detail as a table.
runs_table
scopes_table
Render the available API key scopes as a table.
secrets_table
Render a list of secrets as a table.
stats_table
Render stats as a table.
steps_table
Render a run’s steps as a table.
users_table
Render a list of users as a table.
workflow_detail_table
Render a workflow detail as a table.
workflows_table
Render a list of workflows as a table.