mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00
13 lines
307 B
C#
13 lines
307 B
C#
namespace Spectre.Console.Tests.Data;
|
|
|
|
public sealed class NoDescriptionCommand : Command<EmptyCommandSettings>
|
|
{
|
|
[CommandOption("-f|--foo <VALUE>")]
|
|
public int Foo { get; set; }
|
|
|
|
public override int Execute(CommandContext context, EmptyCommandSettings settings)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|