MCPcopy Create free account
hub / github.com/chatbotkit/node-sdk / runScript

Function runScript

packages/cli/src/command/run/index.js:50–93  ·  view source on GitHub ↗

* Run a JavaScript file with @chatbotkit/* packages available. * * @param {string} scriptPath - Path to the script to run * @param {string[]} scriptArgs - Arguments to pass to the script * @returns {Promise } The exit code of the script

(scriptPath, scriptArgs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

index.jsFile · 0.85

Calls 3

printErrorFunction · 0.90
resolveScriptPathFunction · 0.85
resolveFunction · 0.85

Tested by

no test coverage detected