Files
CliFx/CliFx/ICliApplication.cs
Alexey Golub 6ce52c70f7 Use ValueTask
2019-12-16 22:16:16 +02:00

16 lines
440 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
namespace CliFx
{
/// <summary>
/// Entry point for a command line application.
/// </summary>
public interface ICliApplication
{
/// <summary>
/// Runs application with specified command line arguments and returns an exit code.
/// </summary>
ValueTask<int> RunAsync(IReadOnlyList<string> commandLineArguments);
}
}