summary refs log tree commit diff stats
path: root/ganarchy/cli/debug.py
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2024-02-04 23:52:49 -0300
committerSoniEx2 <endermoneymod@gmail.com>2024-02-04 23:52:49 -0300
commit2f5654e49e2aae96b2a1bc0f5b6a1b784a00ff01 (patch)
treeaa09b5a6e73a7a765c28504f80c289dbc658536e /ganarchy/cli/debug.py
parentcf00ee269c410d7dca3e77735f6f7ebd1c541f62 (diff)
[WIP] Clean up config/repo list handling
Diffstat (limited to 'ganarchy/cli/debug.py')
-rw-r--r--ganarchy/cli/debug.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ganarchy/cli/debug.py b/ganarchy/cli/debug.py
index 95ad045..e44d235 100644
--- a/ganarchy/cli/debug.py
+++ b/ganarchy/cli/debug.py
@@ -15,11 +15,11 @@
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 import click
-import qtoml
 
 import ganarchy
 import ganarchy.cli
 import ganarchy.data
+import ganarchy.dirs
 
 @ganarchy.cli.main.group()
 def debug():
@@ -27,10 +27,10 @@ def debug():
 
 @debug.command()
 def paths():
-    click.echo('Config home: {}'.format(ganarchy.config_home))
-    click.echo('Additional config search path: {}'.format(ganarchy.config_dirs))
-    click.echo('Cache home: {}'.format(ganarchy.cache_home))
-    click.echo('Data home: {}'.format(ganarchy.data_home))
+    click.echo('Config home: {}'.format(ganarchy.dirs.CONFIG_HOME))
+    click.echo('Additional config search path: {}'.format(ganarchy.dirs.CONFIG_DIRS))
+    click.echo('Cache home: {}'.format(ganarchy.dirs.CACHE_HOME))
+    click.echo('Data home: {}'.format(ganarchy.dirs.DATA_HOME))
 
 def print_data_source(data_source):
     if ganarchy.data.DataProperty.INSTANCE_TITLE in data_source.get_supported_properties():