code: def create_role(name):
      
      role = role_manager.create(name=name)
      if click.confirm(f'Are you sure you want to create {role!r}?'):
          role_manager.save(role, commit=True)
          click.echo(f'Successfully created {role!r}')
      else:
          click.echo('Cancelled.')
docs: Create a new role.