Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
be5ae69
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Jul 27, 2023
31cda00
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Aug 1, 2023
612d6f5
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Aug 8, 2023
dae24d3
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 6, 2023
2726ff6
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 7, 2023
4238601
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 8, 2023
5e8c2e8
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 9, 2023
2c49cdc
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 10, 2023
ec25895
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 11, 2023
67024ef
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 12, 2023
674c22b
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 13, 2023
e2c265f
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 14, 2023
41b7d86
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 15, 2023
cbbca0c
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 16, 2023
5ceb17e
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 17, 2023
777529f
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 18, 2023
66ef987
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 19, 2023
1081dfe
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 20, 2023
feeccae
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 21, 2023
d27f892
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 22, 2023
0eb8150
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 23, 2023
c88d6ae
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 24, 2023
0197b31
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 25, 2023
12339af
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 26, 2023
eef9b5c
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 27, 2023
029b1e6
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 28, 2023
a167f17
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 29, 2023
b0e90d8
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Sep 30, 2023
70cb134
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 1, 2023
a7a0258
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 2, 2023
20a2376
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 3, 2023
326737e
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 4, 2023
fae0c7f
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 5, 2023
ee1aaa0
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 6, 2023
254cb28
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 7, 2023
3ef738b
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 8, 2023
a86a98c
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 9, 2023
816c8d4
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 10, 2023
d4908d1
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 11, 2023
f5d5ddd
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 12, 2023
e5dfa06
Merge branch 'main' into darc-main-c4635c16-72c5-47ff-a963-b5c7e29bd9cb
jjonescz Oct 13, 2023
2916b91
Fixup CliActions
jjonescz Oct 13, 2023
44022e5
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 13, 2023
d319221
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 14, 2023
670e44b
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 15, 2023
f237711
Update dependencies from https://github.com/dotnet/command-line-api b…
dotnet-maestro[bot] Oct 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>749b2d2f70d8d60834fd8628ed70c694a0a45403</Sha>
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.command-line-api" Version="0.1.430701">
<Dependency Name="Microsoft.SourceBuild.Intermediate.command-line-api" Version="0.1.440701">
<Uri>https://github.com/dotnet/command-line-api</Uri>
<Sha>02fe27cd6a9b001c8feb7938e6ef4b3799745759</Sha>
<Sha>a045dd54a4c44723c215d992288160eb1401bb7f</Sha>
<SourceBuild RepoName="command-line-api" ManagedOnly="true" />
</Dependency>
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.23307.1">
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.23407.1">
<Uri>https://github.com/dotnet/command-line-api</Uri>
<Sha>02fe27cd6a9b001c8feb7938e6ef4b3799745759</Sha>
<Sha>a045dd54a4c44723c215d992288160eb1401bb7f</Sha>
</Dependency>
<Dependency Name="System.CommandLine.Rendering" Version="0.4.0-alpha.23307.1">
<Dependency Name="System.CommandLine.Rendering" Version="0.4.0-alpha.23407.1">
<Uri>https://github.com/dotnet/command-line-api</Uri>
<Sha>02fe27cd6a9b001c8feb7938e6ef4b3799745759</Sha>
<Sha>a045dd54a4c44723c215d992288160eb1401bb7f</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
</PropertyGroup>
<PropertyGroup>
<!-- command-line-api -->
<SystemCommandLineVersion>2.0.0-beta4.23307.1</SystemCommandLineVersion>
<SystemCommandLineRenderingVersion>0.4.0-alpha.23307.1</SystemCommandLineRenderingVersion>
<SystemCommandLineVersion>2.0.0-beta4.23407.1</SystemCommandLineVersion>
<SystemCommandLineRenderingVersion>0.4.0-alpha.23407.1</SystemCommandLineRenderingVersion>
<!-- corefx -->
<MicrosoftVisualBasicVersion>10.3.0</MicrosoftVisualBasicVersion>
<!-- msbuild -->
Expand Down
5 changes: 2 additions & 3 deletions src/Commands/FormatAnalyzersCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System.Collections.Immutable;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.IO;
using System.Threading;
using System.Threading.Tasks;
Expand All @@ -27,10 +28,8 @@ internal static CliCommand GetCommand()
return command;
}

private class FormatAnalyzersHandler : CliAction
private class FormatAnalyzersHandler : AsynchronousCliAction
{
public override int Invoke(ParseResult parseResult) => InvokeAsync(parseResult, CancellationToken.None).GetAwaiter().GetResult();

public override async Task<int> InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
{
var formatOptions = parseResult.ParseVerbosityOption(FormatOptions.Instance);
Expand Down
5 changes: 2 additions & 3 deletions src/Commands/FormatStyleCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System.Collections.Immutable;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.IO;
using System.Threading;
using System.Threading.Tasks;
Expand All @@ -27,10 +28,8 @@ internal static CliCommand GetCommand()
return command;
}

private class FormatStyleHandler : CliAction
private class FormatStyleHandler : AsynchronousCliAction
{
public override int Invoke(ParseResult parseResult) => InvokeAsync(parseResult, CancellationToken.None).GetAwaiter().GetResult();

public override async Task<int> InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
{
var formatOptions = parseResult.ParseVerbosityOption(FormatOptions.Instance);
Expand Down
5 changes: 2 additions & 3 deletions src/Commands/FormatWhitespaceCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.

using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.IO;
using System.CommandLine.Parsing;
using System.Threading;
Expand Down Expand Up @@ -62,10 +63,8 @@ internal static void EnsureFolderNotSpecifiedWhenLoggingBinlog(CommandResult sym
}
}

private class FormatWhitespaceHandler : CliAction
private class FormatWhitespaceHandler : AsynchronousCliAction
{
public override int Invoke(ParseResult parseResult) => InvokeAsync(parseResult, CancellationToken.None).GetAwaiter().GetResult();

public override async Task<int> InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
{
var formatOptions = parseResult.ParseVerbosityOption(FormatOptions.Instance);
Expand Down
5 changes: 2 additions & 3 deletions src/Commands/RootFormatCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System.Collections.Immutable;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.CommandLine.IO;
using System.Threading;
using System.Threading.Tasks;
Expand Down Expand Up @@ -30,10 +31,8 @@ public static CliRootCommand GetCommand()
return formatCommand;
}

private class FormatCommandDefaultHandler : CliAction
private class FormatCommandDefaultHandler : AsynchronousCliAction
{
public override int Invoke(ParseResult parseResult) => InvokeAsync(parseResult, CancellationToken.None).GetAwaiter().GetResult();

public override async Task<int> InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
{
var formatOptions = parseResult.ParseVerbosityOption(FormatOptions.Instance);
Expand Down