Rename command to remove a name conflict.

This commit is contained in:
Alexis Lahouze 2017-05-19 11:50:36 +02:00
parent a27f33aabf
commit 1cf053bc39

View File

@ -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()