wobbl_tools/tests/text/test_format.py

15 lines
409 B
Python

#!/usr/bin/python3
from wobbl_tools.text.format import format_string
from wobbl_tools.text import format
print("\n==== wobbl_tools.text.format =====")
formats = list(format.color_ansi.keys())
formats.remove("rs")
formats.remove("reset")
print("Is this shit looking right?\n")
for format_name in formats:
print(f"{format_name.title().replace("_", " ")} text: {format_string(f"§{format_name}Text")}")