Skip to content

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Jun 10, 2025

Remove some heavy redundancies, simplify.

Changes:

  • layering is "private matter" of parser, no need to bring it up to BaseParser (mvn does it only)
  • CommonsCliOptions made non-abstract
  • interpolate reworked to be reusable instead of copy-pasta
  • and now that Options can "walk by themselves", we can bring it into context, and a cause of this is dropping several anemic classes

Remove some heavy redundancies, simplify.
@cstamas cstamas requested a review from gnodet June 10, 2025 15:46
@cstamas cstamas self-assigned this Jun 10, 2025
@cstamas cstamas requested a review from slawekjaranowski June 10, 2025 18:58
@cstamas cstamas marked this pull request as ready for review June 10, 2025 20:08
try {
parsedOptions = parseCliOptions(context);
context.options = parseCliOptions(context);
} catch (Exception e) {
Copy link
Contributor

Choose a reason for hiding this comment

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

not in this PR, but this should be a more specific catch

@cstamas cstamas merged commit ddc228e into apache:master Jun 11, 2025
19 checks passed
@cstamas cstamas deleted the unfurl-cli branch June 11, 2025 13:14
@github-actions github-actions bot added this to the 4.0.0-rc-4 milestone Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants