@@ -81,7 +81,6 @@ System.CommandLine
8181 public static CommandLineBuilder UseHelp(this CommandLineBuilder builder, System.String[] helpAliases)
8282 public static CommandLineBuilder UseHelp(this CommandLineBuilder builder, System.Action<System.CommandLine.Help.HelpContext> customize, System.Nullable<System.Int32> maxWidth = null)
8383 public static TBuilder UseHelpBuilder<TBuilder>(this TBuilder builder, System.Func<System.CommandLine.Binding.BindingContext,System.CommandLine.Help.HelpBuilder> getHelpBuilder)
84- public static CommandLineBuilder UseLocalizationResources(this CommandLineBuilder builder, LocalizationResources validationMessages)
8584 public static CommandLineBuilder UseParseDirective(this CommandLineBuilder builder, System.Int32 errorExitCode = 1)
8685 public static CommandLineBuilder UseParseErrorReporting(this CommandLineBuilder builder, System.Int32 errorExitCode = 1)
8786 public static CommandLineBuilder UseSuggestDirective(this CommandLineBuilder builder)
@@ -90,11 +89,10 @@ System.CommandLine
9089 public static CommandLineBuilder UseVersionOption(this CommandLineBuilder builder)
9190 public static CommandLineBuilder UseVersionOption(this CommandLineBuilder builder, System.String[] aliases)
9291 public class CommandLineConfiguration
93- .ctor(Command command, System.Boolean enablePosixBundling = True, System.Boolean enableDirectives = True, System.Boolean enableTokenReplacement = True, LocalizationResources resources = null, System.Collections.Generic.IReadOnlyList<System.CommandLine.Invocation.InvocationMiddleware> middlewarePipeline = null, System.Func<System.CommandLine.Binding.BindingContext,System.CommandLine.Help.HelpBuilder> helpBuilderFactory = null, System.CommandLine.Parsing.TryReplaceToken tokenReplacer = null)
92+ .ctor(Command command, System.Boolean enablePosixBundling = True, System.Boolean enableDirectives = True, System.Boolean enableTokenReplacement = True, System.Collections.Generic.IReadOnlyList<System.CommandLine.Invocation.InvocationMiddleware> middlewarePipeline = null, System.Func<System.CommandLine.Binding.BindingContext,System.CommandLine.Help.HelpBuilder> helpBuilderFactory = null, System.CommandLine.Parsing.TryReplaceToken tokenReplacer = null)
9493 public System.Boolean EnableDirectives { get; }
9594 public System.Boolean EnablePosixBundling { get; }
9695 public System.Boolean EnableTokenReplacement { get; }
97- public LocalizationResources LocalizationResources { get; }
9896 public Command RootCommand { get; }
9997 public System.Void ThrowIfInvalid()
10098 public class CommandLineConfigurationException : System.Exception, System.Runtime.Serialization.ISerializable
@@ -141,46 +139,6 @@ System.CommandLine
141139 public System.Collections.Generic.IReadOnlyCollection<System.String> Aliases { get; }
142140 public System.Void AddAlias(System.String alias)
143141 public System.Boolean HasAlias(System.String alias)
144- public class LocalizationResources
145- public static LocalizationResources Instance { get; }
146- public System.String ArgumentConversionCannotParse(System.String value, System.Type expectedType)
147- public System.String ArgumentConversionCannotParseForCommand(System.String value, System.String commandAlias, System.Type expectedType)
148- public System.String ArgumentConversionCannotParseForCommand(System.String value, System.String commandAlias, System.Type expectedType, System.Collections.Generic.IEnumerable<System.String> completions)
149- public System.String ArgumentConversionCannotParseForOption(System.String value, System.String optionAlias, System.Type expectedType)
150- public System.String ArgumentConversionCannotParseForOption(System.String value, System.String optionAlias, System.Type expectedType, System.Collections.Generic.IEnumerable<System.String> completions)
151- public System.String DirectoryDoesNotExist(System.String path)
152- public System.String ErrorReadingResponseFile(System.String filePath, System.IO.IOException e)
153- public System.String ExceptionHandlerHeader()
154- public System.String ExpectsFewerArguments(System.CommandLine.Parsing.Token token, System.Int32 providedNumberOfValues, System.Int32 maximumNumberOfValues)
155- public System.String ExpectsOneArgument(System.CommandLine.Parsing.SymbolResult symbolResult)
156- public System.String FileDoesNotExist(System.String filePath)
157- public System.String FileOrDirectoryDoesNotExist(System.String path)
158- protected System.String GetResourceString(System.String resourceString, System.Object[] formatArguments)
159- public System.String HelpAdditionalArgumentsDescription()
160- public System.String HelpAdditionalArgumentsTitle()
161- public System.String HelpArgumentDefaultValueLabel()
162- public System.String HelpArgumentsTitle()
163- public System.String HelpCommandsTitle()
164- public System.String HelpDescriptionTitle()
165- public System.String HelpOptionDescription()
166- public System.String HelpOptionsRequiredLabel()
167- public System.String HelpOptionsTitle()
168- public System.String HelpUsageAdditionalArguments()
169- public System.String HelpUsageCommand()
170- public System.String HelpUsageOptions()
171- public System.String HelpUsageTitle()
172- public System.String InvalidCharactersInFileName(System.Char invalidChar)
173- public System.String InvalidCharactersInPath(System.Char invalidChar)
174- public System.String NoArgumentProvided(System.CommandLine.Parsing.SymbolResult symbolResult)
175- public System.String RequiredArgumentMissing(System.CommandLine.Parsing.SymbolResult symbolResult)
176- public System.String RequiredCommandWasNotProvided()
177- public System.String RequiredOptionWasNotProvided(Option option)
178- public System.String ResponseFileNotFound(System.String filePath)
179- public System.String SuggestionsTokenNotMatched(System.String token)
180- public System.String UnrecognizedArgument(System.String unrecognizedArg, System.Collections.Generic.IReadOnlyCollection<System.String> allowedValues)
181- public System.String UnrecognizedCommandOrArgument(System.String arg)
182- public System.String VersionOptionCannotBeCombinedWithOtherArguments(System.String optionAlias)
183- public System.String VersionOptionDescription()
184142 public abstract class Option : IdentifierSymbol, System.CommandLine.Binding.IValueDescriptor
185143 public System.Boolean AllowMultipleArgumentsPerToken { get; set; }
186144 public System.Boolean AppliesToSelfAndChildren { get; set; }
@@ -284,8 +242,7 @@ System.CommandLine.Completions
284242 public class TokenCompletionContext : CompletionContext
285243System.CommandLine.Help
286244 public class HelpBuilder
287- .ctor(System.CommandLine.LocalizationResources localizationResources, System.Int32 maxWidth = 2147483647)
288- public System.CommandLine.LocalizationResources LocalizationResources { get; }
245+ .ctor(System.Int32 maxWidth = 2147483647)
289246 public System.Int32 MaxWidth { get; }
290247 public System.Void CustomizeLayout(System.Func<HelpContext,System.Collections.Generic.IEnumerable<System.Action<HelpContext>>> getLayout)
291248 public System.Void CustomizeSymbol(System.CommandLine.Symbol symbol, System.Func<HelpContext,System.String> firstColumnText = null, System.Func<HelpContext,System.String> secondColumnText = null, System.Func<HelpContext,System.String> defaultValue = null)
@@ -329,7 +286,6 @@ System.CommandLine.Invocation
329286 public System.Int32 ExitCode { get; set; }
330287 public System.CommandLine.Help.HelpBuilder HelpBuilder { get; }
331288 public System.Action<InvocationContext> InvocationResult { get; set; }
332- public System.CommandLine.LocalizationResources LocalizationResources { get; }
333289 public System.CommandLine.Parsing.Parser Parser { get; }
334290 public System.CommandLine.ParseResult ParseResult { get; set; }
335291 public T GetValue<T>(Option<T> option)
@@ -420,7 +376,6 @@ System.CommandLine.Parsing
420376 public static System.Threading.Tasks.Task<System.Int32> InvokeAsync(this Parser parser, System.String[] args, System.CommandLine.IConsole console = null, System.Threading.CancellationToken cancellationToken = null)
421377 public static System.CommandLine.ParseResult Parse(this Parser parser, System.String commandLine)
422378 public abstract class SymbolResult
423- public System.CommandLine.LocalizationResources LocalizationResources { get; }
424379 public SymbolResult Parent { get; }
425380 public System.Collections.Generic.IReadOnlyList<Token> Tokens { get; }
426381 public System.Void AddError(System.String errorMessage)
0 commit comments