MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getCommandDescription

Function getCommandDescription

packages/core/src/tools/shell.ts:319–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

317}
318
319function 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
327export class ShellTool extends BaseDeclarativeTool<
328 ShellToolParams,

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected