Skip to content

How to customize help following change to HelpBuilder visibility #2571

@barrygiles

Description

@barrygiles

Sorry if this is obvious, but I was wondering what the suggested migration path would look like for customized help layouts, now that the HelpBuilder is internal: 8363e58

dotnet/runtime#116065 as an example extends the help layout, but I'm wondering about customizing the main layout.

I've looked at the tests, e.g. https://github.com/dotnet/command-line-api/blob/8363e585244577511e5178bc441fbec7cf9c6053/src/System.CommandLine.Tests/Help/HelpBuilderTests.Customization.cs, but these seem to have access to the internal HelpBuilder, so I don't think are much use as a guide.

So I'm a bit confused, but probably missing something obvious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions