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 uninstall #1089

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

elhimov
Copy link
Contributor

@elhimov elhimov commented Jan 21, 2025

  • simplify and reuse GetAvailableVersions
  • don't refer config.CliOpts in 'uninstall' package
  • avoid duplication of Command.ValidArgsFunction
  • get program name from cmdCtx rather than using global var
  • remove unused cmdCtx argument
  • make uninstall handler private

Part of #1086

@elhimov elhimov force-pushed the elhimov/gh-1086-refactor-uninstall branch 2 times, most recently from 33cbe69 to b8cf088 Compare January 22, 2025 11:59
@elhimov elhimov force-pushed the elhimov/gh-1086-refactor-uninstall branch from b8cf088 to 68fed4b Compare January 22, 2025 16:48
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.

1 participant