Skip to main content

Module config

Module config 

Source
Expand description

Configuration command handling (REFACTORED).

This module handles the config:show and config:<key> <value> commands. It no longer hardcodes every field โ€” instead it uses the schema to generate display/parsing dynamically.

Functionsยง

change_config_value
Changes a configuration value by key.
display_config_field ๐Ÿ”’
Helper to display a single config field in the table format.
display_config_field_custom ๐Ÿ”’
Helper to display a config field with custom value formatting (for colored or special values).
print_all
Displays all configuration settings in a formatted table.