Skip to content

Commit e7f3555

Browse files
2 parents 8e827dc + 67df30a commit e7f3555

15 files changed

+760
-678
lines changed

System.CommandLine.sln

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
2323
EndProjectSection
2424
EndProject
2525
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E5B1EC71-0FC4-4FAA-9C65-32D5016FBC45}"
26-
ProjectSection(SolutionItems) = preProject
27-
src\Directory.Build.props = src\Directory.Build.props
28-
src\Directory.Build.targets = src\Directory.Build.targets
29-
EndProjectSection
3026
EndProject
3127
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.CommandLine", "src\System.CommandLine\System.CommandLine.csproj", "{0BE8E56E-7580-4526-BE24-D304E1779724}"
3228
EndProject

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Dependencies>
33
<ProductDependencies>
4-
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="8.0.0-alpha.1.23316.2">
4+
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="8.0.0-alpha.1.23371.1">
55
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
6-
<Sha>3e92e7cead1e08476973f637007bb22cde7843ca</Sha>
6+
<Sha>c418ea641dfded915409e09387985fba7bccc781</Sha>
77
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
88
</Dependency>
99
</ProductDependencies>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</PropertyGroup>
3333
<!-- Package versions -->
3434
<PropertyGroup>
35-
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>8.0.0-alpha.1.23316.2</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
35+
<MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>8.0.0-alpha.1.23371.1</MicrosoftSourceBuildIntermediatesourcebuildreferencepackagesPackageVersion>
3636
<MicrosoftSourceLinkGitHubVersion>1.2.0-beta-22518-02</MicrosoftSourceLinkGitHubVersion>
3737
<MicrosoftDotNetXliffTasksVersion>1.0.0-beta.22631.1</MicrosoftDotNetXliffTasksVersion>
3838
</PropertyGroup>

src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,26 +184,26 @@ System.CommandLine.Help
184184
public class HelpBuilder
185185
.ctor(System.Int32 maxWidth = 2147483647)
186186
public System.Int32 MaxWidth { get; }
187-
public System.Void CustomizeLayout(System.Func<HelpContext,System.Collections.Generic.IEnumerable<System.Action<HelpContext>>> getLayout)
187+
public System.Void CustomizeLayout(System.Func<HelpContext,System.Collections.Generic.IEnumerable<System.Func<HelpContext,System.Boolean>>> getLayout)
188188
public System.Void CustomizeSymbol(System.CommandLine.CliSymbol symbol, System.Func<HelpContext,System.String> firstColumnText = null, System.Func<HelpContext,System.String> secondColumnText = null, System.Func<HelpContext,System.String> defaultValue = null)
189189
public System.Void CustomizeSymbol(System.CommandLine.CliSymbol symbol, System.String firstColumnText = null, System.String secondColumnText = null, System.String defaultValue = null)
190190
public TwoColumnHelpRow GetTwoColumnRow(System.CommandLine.CliSymbol symbol, HelpContext context)
191191
public System.Void Write(HelpContext context)
192192
public System.Void Write(System.CommandLine.CliCommand command, System.IO.TextWriter writer)
193193
public System.Void WriteColumns(System.Collections.Generic.IReadOnlyList<TwoColumnHelpRow> items, HelpContext context)
194194
static class Default
195-
public static System.Action<HelpContext> AdditionalArgumentsSection()
196-
public static System.Action<HelpContext> CommandArgumentsSection()
197-
public static System.Action<HelpContext> CommandUsageSection()
195+
public static System.Func<HelpContext,System.Boolean> AdditionalArgumentsSection()
196+
public static System.Func<HelpContext,System.Boolean> CommandArgumentsSection()
197+
public static System.Func<HelpContext,System.Boolean> CommandUsageSection()
198198
public static System.String GetArgumentDefaultValue(System.CommandLine.CliArgument argument)
199199
public static System.String GetArgumentDescription(System.CommandLine.CliArgument argument)
200200
public static System.String GetArgumentUsageLabel(System.CommandLine.CliArgument argument)
201201
public static System.String GetCommandUsageLabel(System.CommandLine.CliCommand symbol)
202-
public static System.Collections.Generic.IEnumerable<System.Action<HelpContext>> GetLayout()
202+
public static System.Collections.Generic.IEnumerable<System.Func<HelpContext,System.Boolean>> GetLayout()
203203
public static System.String GetOptionUsageLabel(System.CommandLine.CliOption symbol)
204-
public static System.Action<HelpContext> OptionsSection()
205-
public static System.Action<HelpContext> SubcommandsSection()
206-
public static System.Action<HelpContext> SynopsisSection()
204+
public static System.Func<HelpContext,System.Boolean> OptionsSection()
205+
public static System.Func<HelpContext,System.Boolean> SubcommandsSection()
206+
public static System.Func<HelpContext,System.Boolean> SynopsisSection()
207207
public class HelpContext
208208
.ctor(HelpBuilder helpBuilder, System.CommandLine.CliCommand command, System.IO.TextWriter output, System.CommandLine.ParseResult parseResult = null)
209209
public System.CommandLine.CliCommand Command { get; }

src/System.CommandLine.Tests/EnvironmentVariableDirectiveTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.CommandLine.Invocation;
33
using FluentAssertions;
44
using System.Linq;
5-
using System.Threading;
65
using System.Threading.Tasks;
76

87
using Xunit;

src/System.CommandLine.Tests/Help/Approvals/HelpBuilderTests.Help_layout_has_not_changed.approved.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,3 @@ Options:
2222
multi-line
2323
description
2424

25-
26-

0 commit comments

Comments
 (0)