SetDefaultCommand<T>(string, object) Method
Sets the default command.
public void SetDefaultCommand<T>(string description = null, object data = null)
where T : class, ICommand
- Namespace
- Spectre
.Console .Testing - Containing Type
- CommandAppTester
Parameters
-
T
- The default command type.
Parameters
- string description
- The optional default command description.
- object data
- The optional default command data.