mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
17 lines
459 B
C#
17 lines
459 B
C#
using System.Threading.Tasks;
|
|
using CliFx.Attributes;
|
|
|
|
namespace CliFx.Tests.Commands
|
|
{
|
|
[Command("named sub", Description = "Named sub command description")]
|
|
public class NamedSubCommand : ICommand
|
|
{
|
|
public const string ExpectedOutputText = nameof(NamedSubCommand);
|
|
|
|
public ValueTask ExecuteAsync(IConsole console)
|
|
{
|
|
console.Output.WriteLine(ExpectedOutputText);
|
|
return default;
|
|
}
|
|
}
|
|
} |