mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-17 01:12:50 +08:00
14 lines
337 B
C#
14 lines
337 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?");
|
|
}
|
|
}
|
|
|
|
public sealed class ThrowingCommandSettings : CommandSettings
|
|
{
|
|
}
|