// Copyright (c) ppy Pty Ltd . 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; } } }