CommandLineBuilder
CommandLineBuilder(Command)
Command
Build()
AddMiddleware(CommandLineBuilder, InvocationMiddleware, MiddlewareOrder)
AddMiddleware(CommandLineBuilder, Action<InvocationContext>, MiddlewareOrder)
CancelOnProcessTermination(CommandLineBuilder)
ConfigureHelpFromXmlComments(CommandLineBuilder, MethodInfo, String)
ConfigureRootCommandFromMethod(CommandLineBuilder, MethodInfo, Object)
EnableDirectives(CommandLineBuilder, Boolean)
EnableLegacyDoubleDashBehavior(CommandLineBuilder, Boolean)
EnablePosixBundling(CommandLineBuilder, Boolean)
RegisterWithDotnetSuggest(CommandLineBuilder)
UseAnsiTerminalWhenAvailable(CommandLineBuilder)
UseDefaults(CommandLineBuilder)
UseEnvironmentVariableDirective(CommandLineBuilder)
UseExceptionHandler(CommandLineBuilder, Action<Exception, InvocationContext>, Int32?)
UseHelp(CommandLineBuilder, Int32?)
UseHelp(CommandLineBuilder, String[])
UseHelp(CommandLineBuilder, Action<HelpContext>, Int32?)
UseHost(CommandLineBuilder, Action<IHostBuilder>)
UseHost(CommandLineBuilder, Func<String[], IHostBuilder>, Action<IHostBuilder>)
UseLocalizationResources(CommandLineBuilder, LocalizationResources)
UseParseDirective(CommandLineBuilder, Int32?)
UseParseErrorReporting(CommandLineBuilder, Int32?)
UseSuggestDirective(CommandLineBuilder)
UseTokenReplacer(CommandLineBuilder, TryReplaceToken)
UseTypoCorrections(CommandLineBuilder, Int32)
UseVersionOption(CommandLineBuilder)
UseVersionOption(CommandLineBuilder, String[])
net6.0-windows
namespace System.CommandLine.DragonFruit
{
public static class CommandLine
{
public static CommandLineBuilder ConfigureHelpFromXmlComments(this CommandLineBuilder builder, MethodInfo method, string xmlDocsFilePath);
}
}
.NET | 5.06.07.08.09.010.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net6.0 | |
Assembly | System.CommandLine.DragonFruit , Version=0.4.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | System.CommandLine.DragonFruit (0.4.0-alpha.22272.1) netstandard2.0 |
Preview | This API is contained in a prerelease package. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API