Add argument for account creation on command line.

This commit is contained in:
Alexis Lahouze 2017-07-07 17:38:53 +02:00
parent 26e7d578c7
commit 892470bdad
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ def users():
@users.command()
@click.argument('email')
@click.argument('password')
def add(email, password):
""" Add a new user. """
user = User()