some stuff
This commit is contained in:
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}")
|
Reference in New Issue
Block a user