docs: def create_user(app, appbuilder, role, username, firstname, lastname, email, password):
      """
          Create a user
      """
      _appbuilder = import_application(app, appbuilder)
      role_object = _appbuilder.sm.find_role(role)
      user = _appbuilder.sm.add_user(
          username, firstname, lastname, email, role_object, password
      )
      if user:
          click.echo(click.style("User {0} created.".format(username), fg="green"))
      else:
          click.echo(click.style("Error! No user created", fg="red"))