run method
Runs this command.
The return value is wrapped in a Future if necessary and returned by
CommandRunner.runCommand.
Implementation
@override
bool run() {
final tools = [
for (final tool in _listedTools(argResults!['workspace'] != null))
<String, Object?>{
'name': tool.name,
'description': tool.description,
'inputSchema': tool.inputSchema,
},
];
print(_json.convert(tools));
return true;
}