You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix parent lookups for GetValue(string), add GetResult(string)
* remove dead code and other cleanups
* split out CustomParsingTests
* make CliCommand IEnumerable, not IEnumerable<T>
* remove EditorBrowsable(Never) from CliCommand.Add overloads
* add custom parsing tests to cover SymbolResult.GetResult by name
Copy file name to clipboardExpand all lines: src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt
+4-5
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ System.CommandLine
35
35
public System.Void AcceptLegalFileNamesOnly()
36
36
public System.Void AcceptLegalFilePathsOnly()
37
37
public System.Void AcceptOnlyFromAmong(System.String[] values)
38
-
public class CliCommand : CliSymbol, System.Collections.Generic.IEnumerable<CliSymbol>, System.Collections.IEnumerable
38
+
public class CliCommand : CliSymbol, System.Collections.IEnumerable
public System.CommandLine.Invocation.CliAction Action { get; set; }
41
41
public System.Collections.Generic.ICollection<System.String> Aliases { get; }
@@ -49,7 +49,6 @@ System.CommandLine
49
49
public System.Void Add(CliOption option)
50
50
public System.Void Add(CliCommand command)
51
51
public System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions(System.CommandLine.Completions.CompletionContext context)
52
-
public System.Collections.Generic.IEnumerator<CliSymbol> GetEnumerator()
53
52
public ParseResult Parse(System.Collections.Generic.IReadOnlyList<System.String> args, CliConfiguration configuration = null)
54
53
public ParseResult Parse(System.String commandLine, CliConfiguration configuration = null)
55
54
public System.Void SetAction(System.Action<ParseResult> action)
@@ -89,17 +88,15 @@ System.CommandLine
89
88
public System.Boolean Recursive { get; set; }
90
89
public System.Boolean Required { get; set; }
91
90
public System.Collections.Generic.List<System.Action<System.CommandLine.Parsing.OptionResult>> Validators { get; }
92
-
public System.Type ValueType { get; }
93
91
public System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions(System.CommandLine.Completions.CompletionContext context)
0 commit comments