1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-08 07:17:01 +09:00
osu-tools/PerformanceCalculator/Performance/PerformanceListingCommand.cs
2024-02-03 05:49:54 +09:00

23 lines
824 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using JetBrains.Annotations;
using McMaster.Extensions.CommandLineUtils;
namespace PerformanceCalculator.Performance
{
[Command(Name = "performance", Description = "Computes the performance (pp) of scores or replays.")]
[Subcommand(typeof(ReplayPerformanceCommand))]
[Subcommand(typeof(ScorePerformanceCommand))]
[Subcommand(typeof(LegacyScorePerformanceCommand))]
public class PerformanceListingCommand
{
[UsedImplicitly]
public int OnExecute(CommandLineApplication app, IConsole console)
{
console.WriteLine("You must specify a subcommand.");
app.ShowHelp();
return 1;
}
}
}