()
| 317 | } |
| 318 | |
| 319 | function getCommandDescription(): string { |
| 320 | if (os.platform() === 'win32') { |
| 321 | return 'Exact command to execute as `cmd.exe /c <command>`'; |
| 322 | } else { |
| 323 | return 'Exact bash command to execute as `bash -c <command>`'; |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | export class ShellTool extends BaseDeclarativeTool< |
| 328 | ShellToolParams, |