mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-26 13:12:50 +08:00
15 lines
383 B
C#
15 lines
383 B
C#
using System.ComponentModel;
|
|
using Spectre.Console.Cli;
|
|
|
|
namespace Spectre.Console.Tests.Data
|
|
{
|
|
[Description("The horse command.")]
|
|
public class HorseCommand : AnimalCommand<MammalSettings>
|
|
{
|
|
public override int Execute(CommandContext context, MammalSettings settings)
|
|
{
|
|
DumpSettings(context, settings);
|
|
return 0;
|
|
}
|
|
}
|
|
} |