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:
@@ -1,2 +1,2 @@
|
||||
# tells what exists
|
||||
__all__ = ["shared", "object_handeling", "phonetic_compares"]
|
||||
__all__ = ["shared", "object_handeling", "phonetic_compares", "functions"]
|
||||
|
4
src/music_kraken/utils/functions.py
Normal file
4
src/music_kraken/utils/functions.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import os
|
||||
|
||||
def clear_console():
|
||||
os.system('cls' if os.name in ('nt', 'dos') else 'clear')
|
Reference in New Issue
Block a user