some stuff
This commit is contained in:
parent
1324802db7
commit
c2e070a899
@ -61,15 +61,6 @@ def exit_message():
|
||||
print("See you soon! :3")
|
||||
|
||||
|
||||
def paths():
|
||||
print(f"Temp dir:\t{shared.TEMP_DIR}\n"
|
||||
f"Music dir:\t{shared.MUSIC_DIR}\n"
|
||||
f"Log file:\t{shared.LOG_PATH}")
|
||||
print()
|
||||
print_cute_message()
|
||||
print()
|
||||
|
||||
|
||||
def settings(
|
||||
name: str = None,
|
||||
value: str = None,
|
||||
|
1
src/music_kraken/cli/informations/__init__.py
Normal file
1
src/music_kraken/cli/informations/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from .paths import print_paths
|
17
src/music_kraken/cli/informations/paths.py
Normal file
17
src/music_kraken/cli/informations/paths.py
Normal file
@ -0,0 +1,17 @@
|
||||
from ...utils.path_manager import LOCATIONS
|
||||
from ...utils import shared
|
||||
|
||||
|
||||
def all_paths():
|
||||
return {
|
||||
"Temp dir": LOCATIONS.TEMP_DIRECTORY,
|
||||
"Music dir": LOCATIONS.MUSIC_DIRECTORY,
|
||||
"Log file": shared.LOG_PATH,
|
||||
"Conf dir": LOCATIONS.CONFIG_DIRECTORY,
|
||||
"Conf file": LOCATIONS.CONFIG_FILE
|
||||
}
|
||||
|
||||
|
||||
def print_paths():
|
||||
for name, path in all_paths().items():
|
||||
print(f"{name}:\t{path}")
|
Loading…
Reference in New Issue
Block a user