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.
|
||||
@app.cli.group()
|
||||
def user():
|
||||
def users():
|
||||
""" User management. """
|
||||
pass
|
||||
|
||||
|
||||
@user.command()
|
||||
@users.command()
|
||||
def add(email, password):
|
||||
""" Add a new user. """
|
||||
user = User()
|
||||
|
Loading…
Reference in New Issue
Block a user