mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00

Also moves tests to `./test` which makes it possible for all test projects to share the same .editorconfig files and similar.
17 lines
432 B
C#
17 lines
432 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Spectre.Console.Cli;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|