CommandApp Class

The entry point for a command line application.
public sealed class CommandApp : ICommandApp
Interfaces

Constructors

CommandApp(ITypeRegistrar)
Initializes a new instance of the CommandApp class.

Methods

void Configure(Action<IConfigurator>)
Configures the command line application.
int Run(IEnumerable<string>)
Runs the command line application with specified arguments.
Task<int> RunAsync(IEnumerable<string>)
Runs the command line application with specified arguments.
DefaultCommandConfigurator SetDefaultCommand<TCommand>()
Sets the default command.