mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +08:00
9 lines
269 B
C#
9 lines
269 B
C#
namespace Spectre.Console.Tests.Data;
|
|
|
|
public sealed class ThrowingCommand : Command<ThrowingCommandSettings>
|
|
{
|
|
public override int Execute(CommandContext context, ThrowingCommandSettings settings)
|
|
{
|
|
throw new InvalidOperationException("W00t?");
|
|
}
|
|
} |