I need to parse the JSON output of the command ibmcloud schematics destroy workspace --force --id "$WORKSPACE_ID" --output JSON but the command adds Resources to be destroyed: text to the output before the JSON:
Resources to be destroyed:
[...]
{
"activityid": "[...]"
}
This is not the expected behaviour and makes it impossible to parse the output.
I'm using the latest ibmcloud and schematics plugin version:
ibmcloud -v
ibmcloud 2.31.0 (6b1eddc-2024-12-05T17:30:20+00:00)
Copyright IBM Corp. 2014, 2024
ibmcloud plugin list
Listing installed plug-ins...
Plugin Name Version Status Private endpoints supported
schematics[sch] 1.12.25 true