1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-07 23:07:01 +09:00
osu-tools/PerformanceCalculator/Simulate/SimulateListingCommand.cs
2019-01-24 18:48:24 +09:00

23 lines
817 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.Simulate
{
[Command(Name = "performance", Description = "Computes the performance (pp) of a simulated play.")]
[Subcommand("osu", typeof(OsuSimulateCommand))]
[Subcommand("taiko", typeof(TaikoSimulateCommand))]
[Subcommand("mania", typeof(ManiaSimulateCommand))]
public class SimulateListing
{
[UsedImplicitly]
public int OnExecute(CommandLineApplication app, IConsole console)
{
console.WriteLine("You must specify a subcommand.");
app.ShowHelp();
return 1;
}
}
}