mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-17 01:12:50 +08:00
13 lines
327 B
C#
13 lines
327 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([NotNull] CommandContext context, [NotNull] EmptyCommandSettings settings)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|