Skip to main content

Module shared

Module shared 

Source
Expand description

Cross-domain helpers shared by every analytics command.

Re-exports CSV export utilities (export), reusable output/formatting types and number formatters (output), and time-range parsing and bucketing (time) so the per-domain command modules draw from one surface.

Modules§

export
output
Reusable analytics output shapes and human-readable formatters.
time
Time-range parsing and period bucketing for analytics queries.

Structs§

BreakdownData
BreakdownItem
CsvBuilder
MetricCard
StatsSummary
TrendData
TrendPoint

Functions§

ensure_export_dir
export_single_to_csv
export_to_csv
format_change
format_cost
format_date_range
format_duration_ms
format_number
format_percent
format_period_label
format_timestamp
format_tokens
parse_duration
parse_since
parse_time_range
parse_until
resolve_export_path
truncate_to_period