Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor plugin CLI commands #75259

Merged

Conversation

pugnascotia
Copy link
Contributor

Part of #70219.

Split the install and remove plugin CLI commands into Command and Action classes, so that the main implementations can be reused in a later PR to create a Sync command.

(Reviewers - the GitHub UI doesn't do a good job of indicating moved code, so you may want to consider using the git diff CLI)

@pugnascotia pugnascotia added >refactoring :Core/Infra/CLI CLI utilities, scripts, and infrastructure v7.15.0 labels Jul 12, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jul 12, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

LGTM!

@pugnascotia pugnascotia merged commit 71546b3 into elastic:master Jul 28, 2021
@pugnascotia pugnascotia deleted the 70219-declarative-plugins-refactoring branch July 28, 2021 11:43
pugnascotia added a commit that referenced this pull request Jul 28, 2021
Part of #70219.

Split the install and remove plugin CLI commands into `Command` and
`Action` classes, so that the main implementations can be reused
in a later PR to create a `Sync` command.
@pugnascotia
Copy link
Contributor Author

Backported to 7.x in cea22d6

ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request Jul 30, 2021
Part of elastic#70219.

Split the install and remove plugin CLI commands into `Command` and
`Action` classes, so that the main implementations can be reused
in a later PR to create a `Sync` command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/CLI CLI utilities, scripts, and infrastructure >refactoring Team:Core/Infra Meta label for core/infra team v7.15.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants