Rename command to remove a name conflict.
This commit is contained in:
parent
a27f33aabf
commit
1cf053bc39
@ -18,12 +18,12 @@ app = create_app(config_path) # pylint: disable=invalid-name
|
|||||||
|
|
||||||
# Define commands to handle users.
|
# Define commands to handle users.
|
||||||
@app.cli.group()
|
@app.cli.group()
|
||||||
def user():
|
def users():
|
||||||
""" User management. """
|
""" User management. """
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@user.command()
|
@users.command()
|
||||||
def add(email, password):
|
def add(email, password):
|
||||||
""" Add a new user. """
|
""" Add a new user. """
|
||||||
user = User()
|
user = User()
|
||||||
|
Loading…
Reference in New Issue
Block a user