Some cli improvements

- Adds cross platform clear console functionality
- Replaces "search_for_metadata" if tree with a match case
- Implements alternative command interface for handling the program
- Fixes bug of error being displayed when quitting the program
This commit is contained in:
Muffin-chan
2022-11-22 03:24:25 -05:00
parent fe1c849852
commit ad446a1099
4 changed files with 47 additions and 15 deletions

View File

@@ -1,2 +1,2 @@
# tells what exists
__all__ = ["shared", "object_handeling", "phonetic_compares"]
__all__ = ["shared", "object_handeling", "phonetic_compares", "functions"]

View File

@@ -0,0 +1,4 @@
import os
def clear_console():
os.system('cls' if os.name in ('nt', 'dos') else 'clear')