ICommandApp Interface
Represents a command line application.
public interface ICommandApp
- Namespace
- Spectre
.Console .Cli - Implementing Types
Methods
-
abstract void Configure
(Action < I Configurator> ) - Configures the command line application.
-
abstract int Run
(IEnumerable <string> ) - Runs the command line application with specified arguments.
-
abstract Task<int> RunAsync
(IEnumerable <string> ) - Runs the command line application with specified arguments.