Add argument for account creation on command line.
This commit is contained in:
parent
26e7d578c7
commit
892470bdad
@ -24,6 +24,8 @@ def users():
|
||||
|
||||
|
||||
@users.command()
|
||||
@click.argument('email')
|
||||
@click.argument('password')
|
||||
def add(email, password):
|
||||
""" Add a new user. """
|
||||
user = User()
|
||||
|
Loading…
Reference in New Issue
Block a user