Skip to content

CSTM-228: Adding list and delete commands to ui-plugins command group#239

Merged
jeremy-gooch-sp merged 4 commits into
ui-pluginsfrom
CSTM-228
Jul 10, 2026
Merged

CSTM-228: Adding list and delete commands to ui-plugins command group#239
jeremy-gooch-sp merged 4 commits into
ui-pluginsfrom
CSTM-228

Conversation

@jeremy-gooch-sp

@jeremy-gooch-sp jeremy-gooch-sp commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR adds the list and delete commands to the ui-plugins command group. Deletes are gated behind a verify confirmation (bypassed with --force). Delete can be by alias or by plugin id. If duplicate aliases are found the CLI errors out with a message to the end user. This happens regardless of the --force flag.

This PR also updates the plugins to use the new versioned endpoint.

How Has This Been Tested?

There is an MV at CSTM-310 that documents the tests run including the edge cases.

@patrick-dowd-sp patrick-dowd-sp left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Comment thread cmd/ui_plugins/create.go

const (
pluginInstancesEndpoint = "/v2026/ui-plugins"
pluginInstancesEndpoint = "/ui-plugins/v1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity - why are we avoiding the v2026 convention? Is it that our OSS products have a different convention?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. This updated path is to use the new version of the API that SP is switching to.

@jeremy-gooch-sp jeremy-gooch-sp merged commit a016fa8 into ui-plugins Jul 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants