add simple debug command for testing things out of git

This commit is contained in:
lza_menace 2020-08-04 10:09:39 -07:00
parent f5bd08508a
commit dba78b0f9f
1 changed files with 5 additions and 0 deletions

View File

@ -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)