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

Move uninstall code to pkg #3197

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Move uninstall code to pkg #3197

merged 1 commit into from
Oct 13, 2022

Conversation

phillebaba
Copy link
Member

This change moves the uninstall logic from cmd to pkg. This is done so that it can be shared with the Terraform Provider reducing the need to duplicate code.

@hiddeco
Copy link
Member

hiddeco commented Oct 12, 2022

Same suggestions apply for the other functions.

@phillebaba phillebaba force-pushed the move-uninstall branch 2 times, most recently from cb87c60 to df3391e Compare October 12, 2022 15:15
@phillebaba
Copy link
Member Author

@hiddeco I agree that removing the Uninstall prefix from each function seems reasonable as it is in the package name. Fixed your comments.

@hiddeco
Copy link
Member

hiddeco commented Oct 12, 2022

One additional nit (other than that absolutely perfect): given things move into the public API, it would probably be good to document the (behavior) of the functionalities. Both because of consumer ease, and ensuring the behavior stays the same in terms of backwards compatibility.

Signed-off-by: Philip Laine <philip.laine@gmail.com>
@phillebaba phillebaba merged commit cc3f2c7 into main Oct 13, 2022
@phillebaba phillebaba deleted the move-uninstall branch October 13, 2022 09:07
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.

None yet

2 participants