Skip to content

Help API adjustments - #1493

Merged
jonsequitur merged 4 commits into
dotnet:mainfrom
jonsequitur:help-API-adjustments
Dec 1, 2021
Merged

jonsequitur merged 4 commits into
dotnet:mainfrom
jonsequitur:help-API-adjustments

Conversation

@jonsequitur

@jonsequitur jonsequitur commented Dec 1, 2021 •

Copy link
Copy Markdown
Contributor

This removes IHelpBuilder.

We've been pushing toward making help output easier to compose and reuse and since much of the functionality is on HelpBuilder, the interface was starting to seem superfluous.

An entirely custom implementation is still possible by inheriting HelpBuilder and overriting Write. Given this, there's no compelling reason to have both HelpBuilder and IHelpBuilder.

@jonsequitur
jonsequitur requested a review from sfoslund December 1, 2021 18:05

@sfoslund sfoslund left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The SDK already does not use IHelpBuilder so I expect this won't be much of breaking change for us.

@jonsequitur
jonsequitur merged commit fc76f3d into dotnet:main Dec 1, 2021
@jonsequitur jonsequitur added this to the 2.0 GA milestone Dec 5, 2021
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.

4 participants