wobbl_tools/tests/text/test_format.py

14 lines
366 B
Python
Raw Normal View History

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