register commands

This commit is contained in:
Jake Howard 2016-05-19 19:58:07 +01:00
parent f604750c27
commit adf7ee12b8

View file

@ -11,7 +11,7 @@ logging.getLogger("requests").setLevel(logging.WARNING)
class YubiLockCLI(click.MultiCommand):
def list_commands(self, ctx):
return ['status', 'install']
return ['status', 'install', 'handle', 'register']
def get_command(self, ctx, name):
ns = {}