@@ -81,7 +81,6 @@ System.CommandLine
81
81
public static CommandLineBuilder UseHelp(this CommandLineBuilder builder, System.String[] helpAliases)
82
82
public static CommandLineBuilder UseHelp(this CommandLineBuilder builder, System.Action<System.CommandLine.Help.HelpContext> customize, System.Nullable<System.Int32> maxWidth = null)
83
83
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)
85
84
public static CommandLineBuilder UseParseDirective(this CommandLineBuilder builder, System.Int32 errorExitCode = 1)
86
85
public static CommandLineBuilder UseParseErrorReporting(this CommandLineBuilder builder, System.Int32 errorExitCode = 1)
87
86
public static CommandLineBuilder UseSuggestDirective(this CommandLineBuilder builder)
@@ -90,11 +89,10 @@ System.CommandLine
90
89
public static CommandLineBuilder UseVersionOption(this CommandLineBuilder builder)
91
90
public static CommandLineBuilder UseVersionOption(this CommandLineBuilder builder, System.String[] aliases)
92
91
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)
94
93
public System.Boolean EnableDirectives { get; }
95
94
public System.Boolean EnablePosixBundling { get; }
96
95
public System.Boolean EnableTokenReplacement { get; }
97
- public LocalizationResources LocalizationResources { get; }
98
96
public Command RootCommand { get; }
99
97
public System.Void ThrowIfInvalid()
100
98
public class CommandLineConfigurationException : System.Exception, System.Runtime.Serialization.ISerializable
@@ -141,46 +139,6 @@ System.CommandLine
141
139
public System.Collections.Generic.IReadOnlyCollection<System.String> Aliases { get; }
142
140
public System.Void AddAlias(System.String alias)
143
141
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()
184
142
public abstract class Option : IdentifierSymbol, System.CommandLine.Binding.IValueDescriptor
185
143
public System.Boolean AllowMultipleArgumentsPerToken { get; set; }
186
144
public System.Boolean AppliesToSelfAndChildren { get; set; }
@@ -284,8 +242,7 @@ System.CommandLine.Completions
284
242
public class TokenCompletionContext : CompletionContext
285
243
System.CommandLine.Help
286
244
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)
289
246
public System.Int32 MaxWidth { get; }
290
247
public System.Void CustomizeLayout(System.Func<HelpContext,System.Collections.Generic.IEnumerable<System.Action<HelpContext>>> getLayout)
291
248
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
329
286
public System.Int32 ExitCode { get; set; }
330
287
public System.CommandLine.Help.HelpBuilder HelpBuilder { get; }
331
288
public System.Action<InvocationContext> InvocationResult { get; set; }
332
- public System.CommandLine.LocalizationResources LocalizationResources { get; }
333
289
public System.CommandLine.Parsing.Parser Parser { get; }
334
290
public System.CommandLine.ParseResult ParseResult { get; set; }
335
291
public T GetValue<T>(Option<T> option)
@@ -420,7 +376,6 @@ System.CommandLine.Parsing
420
376
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)
421
377
public static System.CommandLine.ParseResult Parse(this Parser parser, System.String commandLine)
422
378
public abstract class SymbolResult
423
- public System.CommandLine.LocalizationResources LocalizationResources { get; }
424
379
public SymbolResult Parent { get; }
425
380
public System.Collections.Generic.IReadOnlyList<Token> Tokens { get; }
426
381
public System.Void AddError(System.String errorMessage)
0 commit comments