AddCommand<TCommand>(string) Method
Adds a command.
ICommandConfigurator AddCommand<TCommand>(string name)
where TCommand : class, ICommandLimiter<in TSettings>
- Namespace
- Spectre
.Console .Cli - Containing Type
- IConfigurator
<TSettings>
Parameters
-
TCommand
- The command type.
Parameters
- string name
- The name of the command.