From dba78b0f9fd69c2f0e48faf60e84556ff381578e Mon Sep 17 00:00:00 2001 From: lza_menace Date: Tue, 4 Aug 2020 10:09:39 -0700 Subject: [PATCH] add simple debug command for testing things out of git --- tipbot/admin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tipbot/admin.py b/tipbot/admin.py index 444fe45..ebb9438 100644 --- a/tipbot/admin.py +++ b/tipbot/admin.py @@ -8,6 +8,10 @@ import commands def cli(): pass +@click.command() +def debug(): + pass + @click.command() def get_registered_users(): users = db.User.select() @@ -36,6 +40,7 @@ def generate_bot_help(): if not 'admin' in c: click.echo(f'{cmd} - {commands.all_commands[cmd]["help"]}') +cli.add_command(debug) cli.add_command(get_registered_users) cli.add_command(get_address) cli.add_command(generate_bot_help)