WithData(object) Method
Sets data that will be passed to the command via the
CommandContext
.
public CommandApp<TDefaultCommand> WithData(object data)
- Namespace
- Spectre
.Console .Cli - Containing Type
- CommandApp
<TDefaultCommand>
Parameters
- object data
- The data to pass to the default command.