mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
17 lines
539 B
C#
17 lines
539 B
C#
using System.Threading.Tasks;
|
|
using CliFx.Attributes;
|
|
|
|
namespace CliFx.Tests.TestCommands
|
|
{
|
|
[Command("cmd", Description = "HelpNamedCommand description.")]
|
|
public class HelpNamedCommand : ICommand
|
|
{
|
|
[CommandOption("option-c", 'c', Description = "OptionC description.")]
|
|
public string? OptionC { get; set; }
|
|
|
|
[CommandOption("option-d", 'd', Description = "OptionD description.")]
|
|
public string? OptionD { get; set; }
|
|
|
|
public ValueTask ExecuteAsync(IConsole console) => default;
|
|
}
|
|
} |