Edit

Share via


HelpContext(HelpBuilder, Command, TextWriter, ParseResult) Constructor

Definition

public HelpContext (System.CommandLine.Help.HelpBuilder helpBuilder, System.CommandLine.Command command, System.IO.TextWriter output, System.CommandLine.Parsing.ParseResult? parseResult = default);
new System.CommandLine.Help.HelpContext : System.CommandLine.Help.HelpBuilder * System.CommandLine.Command * System.IO.TextWriter * System.CommandLine.Parsing.ParseResult -> System.CommandLine.Help.HelpContext
Public Sub New (helpBuilder As HelpBuilder, command As Command, output As TextWriter, Optional parseResult As ParseResult = Nothing)

Parameters

helpBuilder
HelpBuilder

The current help builder.

command
Command

The command for which help is being formatted.

output
TextWriter

A text writer to write output to.

parseResult
ParseResult

The result of the current parse operation.

Applies to