def METHOD_NAME(endpoint, no_git, yes):
    """Log in to the platform."""
    from renku.command.METHOD_NAME import login_command
    communicator = ClickCallback()
    login_command().with_communicator(communicator).build().execute(endpoint=endpoint, git_login=not no_git, yes=yes)
    click.secho("Successfully logged in.", fg=color.GREEN)