adding initial CLI support

This commit is contained in:
João Moura
2024-03-11 16:37:32 -03:00
parent a4e9b9ccfe
commit 47b5cbd211
24 changed files with 417 additions and 7 deletions

View File

@@ -4,9 +4,14 @@ class Printer:
self._print_yellow(content)
elif color == "red":
self._print_red(content)
elif color == "bold_green":
self._print_bold_green(content)
else:
print(content)
def _print_bold_green(self, content):
print("\033[1m\033[92m {}\033[00m".format(content))
def _print_yellow(self, content):
print("\033[93m {}\033[00m".format(content))