Skip to content

Commit c7abf58

Browse files
Bump GitHubActionsTestLogger and 5 others (#183)
Performed the following updates: - Updated GitHubActionsTestLogger from 2.3.3 to 2.4.1 in /Directory.Build.props, /Directory.Packages.props, /ListingManager.Tests/EssentialCSharp.ListingManager.Tests.csproj - Updated LibGit2Sharp from 0.30.0 to 0.31.0 in /Directory.Build.props, /Directory.Packages.props, /ListingManager/EssentialCSharp.ListingManager.csproj - Updated Microsoft.NET.Test.Sdk from 17.13.0 to 17.14.1 in /Directory.Build.props, /Directory.Packages.props, /ListingManager.Tests/EssentialCSharp.ListingManager.Tests.csproj - Updated Polly from 8.5.2 to 8.6.1 in /Directory.Build.props, /Directory.Packages.props, /ListingManager.Tests/EssentialCSharp.ListingManager.Tests.csproj - Updated System.CommandLine from 2.0.0-beta4.24528.1 to 2.0.0-beta6.25322.101 in /Directory.Build.props, /Directory.Packages.props, /ListingManager/EssentialCSharp.ListingManager.csproj - Updated xunit.runner.visualstudio from 3.0.2 to 3.1.1 in /Directory.Build.props, /Directory.Packages.props, /ListingManager.Tests/EssentialCSharp.ListingManager.Tests.csproj Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Benjamin Michaelis <git@relay.benjamin.michaelis.net>
1 parent dc5b09b commit c7abf58

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

Directory.Packages.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageVersion Include="GitHubActionsTestLogger" Version="2.3.3" />
7+
<PackageVersion Include="GitHubActionsTestLogger" Version="2.4.1" />
88
<PackageVersion Include="IntelliTect.TestTools.Console" Version="1.0.0" />
9-
<PackageVersion Include="LibGit2Sharp" Version="0.30.0" />
10-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
9+
<PackageVersion Include="LibGit2Sharp" Version="0.31.0" />
10+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
1111
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
12-
<PackageVersion Include="Polly" Version="8.5.2" />
13-
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.24528.1" />
12+
<PackageVersion Include="Polly" Version="8.6.1" />
13+
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta6.25322.101" />
1414
<PackageVersion Include="xunit" Version="2.9.3" />
15-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
15+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.1" />
1616
</ItemGroup>
1717
</Project>

ListingManager/Program.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,48 @@ public sealed class Program
66
{
77
private static Task<int> Main(string[] args)
88
{
9-
CliConfiguration configuration = GetConfiguration();
9+
CommandLineConfiguration configuration = GetConfiguration();
1010
return configuration.InvokeAsync(args);
1111
}
1212

13-
public static CliConfiguration GetConfiguration()
13+
public static CommandLineConfiguration GetConfiguration()
1414
{
1515
// Use the ExistingOnly method to only parse the arguments that are defined in the configuration
1616

17-
CliArgument<DirectoryInfo> directoryInArgument = new("directoryIn")
17+
Argument<DirectoryInfo> directoryInArgument = new("directoryIn")
1818
{
1919
Description = "The directory of the chapter to update listings on.",
2020
};
2121
directoryInArgument.AcceptExistingOnly();
2222

2323
// With proper logging implemented, this option will hopefully be removed
24-
CliOption<bool> verboseOption = new("--verbose")
24+
Option<bool> verboseOption = new("--verbose")
2525
{
2626
Description = "Displays more detailed messages in the log.",
2727
};
2828

29-
CliOption<bool> previewOption = new("--preview")
29+
Option<bool> previewOption = new("--preview")
3030
{
3131
Description = "Displays the changes that will be made without actually making them.",
3232
};
3333

34-
CliOption<bool> allChaptersOption = new("--all-chapters")
34+
Option<bool> allChaptersOption = new("--all-chapters")
3535
{
3636
Description = "The passed in path is the parent directory to many chapter directories rather than a single chapter directory.",
3737
};
3838

3939
// TODO: Add better descriptions when their functionality becomes clearer
40-
CliOption<bool> byFolderOption = new("--by-folder")
40+
Option<bool> byFolderOption = new("--by-folder")
4141
{
4242
Description = "Updates namespaces and filenames for all listings and accompanying tests within a folder.",
4343
};
4444

45-
CliOption<bool> singleDirOption = new("--single-dir")
45+
Option<bool> singleDirOption = new("--single-dir")
4646
{
4747
Description = "All listings are in a single directory and not separated into chapter and chapter test directories.",
4848
};
4949

50-
CliCommand listingUpdating = new("update", "Updates namespaces and filenames for all listings and accompanying tests within a chapter")
50+
Command listingUpdating = new("update", "Updates namespaces and filenames for all listings and accompanying tests within a chapter")
5151
{
5252
directoryInArgument,
5353
verboseOption,
@@ -78,9 +78,9 @@ public static CliConfiguration GetConfiguration()
7878
}
7979
});
8080

81-
CliCommand scan = new("scan", "Scans for various things");
81+
Command scan = new("scan", "Scans for various things");
8282

83-
CliCommand listings = new("listings", "Scans for mismatched listings")
83+
Command listings = new("listings", "Scans for mismatched listings")
8484
{
8585
directoryInArgument
8686
};
@@ -98,7 +98,7 @@ public static CliConfiguration GetConfiguration()
9898
});
9999
scan.Subcommands.Add(listings);
100100

101-
CliCommand tests = new("tests", "Scans for mismatched tests")
101+
Command tests = new("tests", "Scans for mismatched tests")
102102
{
103103
directoryInArgument,
104104
allChaptersOption,
@@ -124,12 +124,12 @@ public static CliConfiguration GetConfiguration()
124124

125125
scan.Subcommands.Add(tests);
126126

127-
CliRootCommand rootCommand = new("The EssentialCSharp.ListingManager helps to organize and manage the EssentialCSharp source code")
127+
RootCommand rootCommand = new("The EssentialCSharp.ListingManager helps to organize and manage the EssentialCSharp source code")
128128
{
129129
listingUpdating,
130130
scan
131131
};
132132

133-
return new CliConfiguration(rootCommand);
133+
return new CommandLineConfiguration(rootCommand);
134134
}
135135
}

0 commit comments

Comments
 (0)