def print_config_table(): from rich.table import Table from localstack import config grid = Table(show_header=True) grid.add_column("Key") grid.add_column("Value") for key, value in config.collect_config_items(): grid.add_row(key, str(value)) console.print(grid)
def print_config_pairs(): from localstack import config for key, value in config.collect_config_items(): console.print(f"{key}={value}")
def print_config_dict(): from localstack import config console.print(dict(config.collect_config_items()))
def print_config_json(): import json from localstack import config console.print(json.dumps(dict(config.collect_config_items())))