Skip to content

Commit df08642

Browse files
[release/8.0.1xx-preview2] Update dependencies from dotnet/command-line-api (#6195)
* Update dependencies from https://github.com/dotnet/command-line-api build 20230302.1 System.CommandLine From Version 2.0.0-beta4.23122.2 -> To Version 2.0.0-beta4.23152.1 * adjust to command line changes --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: YuliiaKovalova <[email protected]>
1 parent 53ccaa7 commit df08642

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
<Uri>https://github.com/dotnet/runtime</Uri>
2020
<Sha>30b879924a47d8660d5f4b14ff581ce40ae076f2</Sha>
2121
</Dependency>
22-
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.23122.2">
22+
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.23152.1">
2323
<Uri>https://github.com/dotnet/command-line-api</Uri>
24-
<Sha>2f15c7e27f5cfe353c1de82ec6bca73016e4dbb9</Sha>
24+
<Sha>d5b63a05d9f4619dea0be897d3acc0ad5272874e</Sha>
2525
</Dependency>
2626
</ProductDependencies>
2727
<ToolsetDependencies>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PropertyGroup>
1717
<!-- Maestro-managed Package Versions - Ordered by repo name -->
1818
<!-- Dependencies from https://github.com/dotnet/command-line-api -->
19-
<SystemCommandLinePackageVersion>2.0.0-beta4.23122.2</SystemCommandLinePackageVersion>
19+
<SystemCommandLinePackageVersion>2.0.0-beta4.23152.1</SystemCommandLinePackageVersion>
2020
<!-- Dependencies from https://github.com/dotnet/runtime -->
2121
<MicrosoftNETCoreAppRefPackageVersion>8.0.0-preview.2.23128.3</MicrosoftNETCoreAppRefPackageVersion>
2222
<MicrosoftNETCoreAppRuntimewinx64PackageVersion>8.0.0-preview.2.23128.3</MicrosoftNETCoreAppRuntimewinx64PackageVersion>

tools/Microsoft.TemplateEngine.Authoring.CLI/Program.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.CommandLine;
5-
using System.CommandLine.Parsing;
65
using Microsoft.TemplateEngine.Authoring.CLI.Commands;
76
using Microsoft.TemplateEngine.Authoring.CLI.Commands.Verify;
87

@@ -16,10 +15,10 @@ internal static Task<int> Main(string[] args)
1615
rootCommand.Subcommands.Add(new LocalizeCommand());
1716
rootCommand.Subcommands.Add(new VerifyCommand());
1817

19-
return CreateParser(rootCommand).Parse(args).InvokeAsync();
18+
return GetCommandLineConfiguration(rootCommand).InvokeAsync(args);
2019
}
2120

22-
internal static Parser CreateParser(Command command)
21+
internal static CommandLineConfiguration GetCommandLineConfiguration(Command command)
2322
{
2423
CommandLineBuilder builder = new CommandLineBuilder(command)
2524
.UseDefaults()

0 commit comments

Comments
 (0)