mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
16 lines
440 B
C#
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);
|
|
}
|
|
} |