add simple debug command for testing things out of git

master
lza_menace 4 years ago
parent f5bd08508a
commit dba78b0f9f

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