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