Files
CliFx/CliFx.Tests/TestCommands/HelloWorldDefaultCommand.cs
2019-10-31 14:39:56 +02:00

17 lines
385 B
C#

using System.Threading;
using System.Threading.Tasks;
using CliFx.Attributes;
using CliFx.Services;
namespace CliFx.Tests.TestCommands
{
[Command]
public class HelloWorldDefaultCommand : ICommand
{
public Task ExecuteAsync(IConsole console)
{
console.Output.WriteLine("Hello world.");
return Task.CompletedTask;
}
}
}