Page tree
Skip to end of metadata
Go to start of metadata

This API allows you to start a Profound.js module from a command line instead of initiating it with a call that is handled by the Profound.js server.

Profound.js ships with a script named call.js that provides for a simple way to use this API. You can call it like this:

node call directory/module parm1 parm2 parm3 parm4


Parameters

  1. Module Name - the name can be qualified with a directory. If not qualified the pathlist is used to resolve the name.
  2. Parameters Array


Example

// Load Profound.js
var profoundjs = require("profoundjs");
 
// Call module
profoundjs.commandLineCall(moduleName, parms);