diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2019-07-15 17:31:08 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2019-07-15 17:31:08 -0300 |
commit | 3677af203c383783c1be54bc512406a699173623 (patch) | |
tree | b30d6dccc8dc2eb4f659552ca906f9222df6a045 /ganarchy.py | |
parent | 3483dbe9b5b4393f167de713a0098b77e42ffd8e (diff) |
Add debugging
Diffstat (limited to 'ganarchy.py')
-rwxr-xr-x | ganarchy.py | 14 |
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) |