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