Skip to main content

Module table

Module table 

Source
Expand description

Shared table formatting utilities

Provides consistent table output formatting across CLI commands.

Structs§

Table
A simple table builder for CLI output

Enums§

Alignment
Column alignment

Functions§

format_address
Format an address with optional truncation
format_float
Format a float with specified decimal places
format_hex_truncated
Format bytes as hex with 0x prefix, truncating if needed
format_number
Format a number with thousands separators
format_usd
Format a price in USD