def METHOD_NAME(worksheet_uuid):
    """
    Create an instance of the CLI.
    The CLI uses JsonApiClient to communicate back to the REST API.
    This is admittedly not ideal since now the REST API is essentially
    making HTTP requests back to itself. Future potential solutions might
    include creating a subclass of JsonApiClient that can reroute HTTP
    requests directly to the appropriate Bottle view functions.
    """
    output_buffer = StringIO()
    rest_extra_headers = local.config['server'].get('extra_headers', {})
    rest_client = JsonApiClient(rest_url(), get_user_token, rest_extra_headers)
    manager = CodaLabManager(temporary=True, config=local.config, clients={rest_url(): rest_client})
    manager.set_current_worksheet_uuid(rest_url(), worksheet_uuid)
    cli = bundle_cli.BundleCLI(manager, headless=True, stdout=output_buffer, stderr=output_buffer)
    return cli, output_buffer