CommandApp<TDefaultCommand> Class

The entry point for a command line application with a default command.
public sealed class CommandApp<TDefaultCommand> : ICommandApp 
    where TDefaultCommand : class, ICommand
Interfaces

Parameters

TDefaultCommand
The type of the default command.

Constructors

CommandApp(ITypeRegistrar)
Initializes a new instance of the CommandApp<TDefaultCommand> 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.