namespace Spectre.Console.Cli; /// /// Represents a command line application. /// public interface ICommandApp { /// /// Configures the command line application. /// /// The configuration. void Configure(Action configuration); /// /// Runs the command line application with specified arguments. /// /// The arguments. /// The exit code from the executed command. int Run(IEnumerable args); /// /// Runs the command line application with specified arguments. /// /// The arguments. /// The exit code from the executed command. Task RunAsync(IEnumerable args); }