We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d86d3 commit 9315483Copy full SHA for 9315483
src/System.CommandLine/Invocation/InvocationContext.cs
@@ -2,6 +2,7 @@
2
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4
using System.CommandLine.Binding;
5
+using System.CommandLine.Help;
6
using System.CommandLine.Parsing;
7
using System.Threading;
8
@@ -27,6 +28,8 @@ public InvocationContext(
27
28
29
public Parser Parser => BindingContext.ParseResult.Parser;
30
31
+ public IHelpBuilder HelpBuilder => Parser.Configuration.HelpBuilderFactory(BindingContext);
32
+
33
public Resources Resources => Parser.Configuration.Resources;
34
35
public ParseResult ParseResult
0 commit comments