mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
18 lines
565 B
C#
18 lines
565 B
C#
using System.Threading.Tasks;
|
|
using CliFx.Attributes;
|
|
using CliFx.Services;
|
|
|
|
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 Task ExecuteAsync(IConsole console) => Task.CompletedTask;
|
|
}
|
|
} |