DEBUG:root: The '--delete' flag has been specified.
DEBUG:root: Running command: tw -o json workspaces list
INFO:root:Checking if workspaceName e2e_demo exists in Seqera Platform...
DEBUG:root: Deleting the workspaces resource.
DEBUG:root: Running command: tw workspaces delete --id 232421996273149
Also by specifying overwrite: true with an existing workspace of same name:
DEBUG:root: Overwrite is set to 'True' for workspaces
DEBUG:root: Running command: tw -o json workspaces list
INFO:root:Checking if workspaceName e2e_demo exists in Seqera Platform...
DEBUG:root: The attempted workspaces resource already exists. Overwriting.
DEBUG:root: Running command: tw workspaces delete --id 183701661549877
DEBUG:root: Running command: tw workspaces add --name e2e_demo --full-name 'some name' --organization seqerakit_automation --visibility PRIVATE
Re #115
Fixes bug in keys used to retrieve identifier for workspaces and retrieving ID for workspace for deletion.
Confirmed by adding a workspace:
Followed by deleting:
Also by specifying
overwrite: true
with an existing workspace of same name: