summary refs log tree commit diff stats
path: root/ganarchy.py
diff options
context:
space:
mode:
Diffstat (limited to 'ganarchy.py')
-rwxr-xr-xganarchy.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/ganarchy.py b/ganarchy.py
index 32add6f..bcc094e 100755
--- a/ganarchy.py
+++ b/ganarchy.py
@@ -510,6 +510,20 @@ class Config:
                     if remove and not active:
                         branch['active'] = False
 
+def debug():
+    @ganarchy.group()
+    def debug():
+        pass
+
+    @debug.command()
+    def paths():
+        click.echo('Config home: {}'.format(config_home))
+        click.echo('Additional config search path: {}'.format(config_dirs))
+        click.echo('Cache home: {}'.format(cache_home))
+        click.echo('Data home: {}'.format(data_home))
+
+debug()
+
 @ganarchy.command()
 @click.option('--skip-errors/--no-skip-errors', default=False)
 @click.argument('files', type=click.File('r', encoding='utf-8'), nargs=-1)