profoundjs.commandLineCall()
Â
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
Module Name - the name can be qualified with a directory. If not qualified the pathlist is used to resolve the name.
Parameters Array
Â
Example
// Load Profound.js
var profoundjs = require("profoundjs");
Â
// Call module
profoundjs.commandLineCall(moduleName, parms);
Â
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!