Module output

Module output 

Source
Expand description

Handles output formatting and printing for different data types in the CLI.

Supports output formats: plain text (human-readable), JSON, and YAML.

Functionsยง

print_context_config_path
Prints the file path to the context configuration.
print_context_current
Prints the name of the currently active context profile, or an empty message if none is set.
print_context_list
Prints a list of available context profile names.
print_context_profile
Prints a detailed description of a single context profile.
print_query_extended
print_top_errors
Prints the most frequent errors observed in system.errors.
print_top_queries
Prints the top heaviest queries in the selected output format.
print_total_queries
Prints the total weights of queries aggregated over a period of time.