ToolRunner constructor

ToolRunner({
  1. required ToolDefinition tool,
  2. Map<String, CommandExecutor> executors = const {},
  3. bool verbose = true,
  4. StringSink? output,
})

Implementation

ToolRunner({
  required this.tool,
  this.executors = const {},
  this.verbose = true,
  StringSink? output,
}) : output = _resolveOutput(output) {
  _effectiveTool = tool;
}