javascript - Command line node-webkit app -
i able create node-webkit (nw.js) application , able start command line arguments pass application itself. able run command release ./project , have launch gui passing directory cli argument node-webkit.
i've been able compile app far have no way of opening command line , passing completed callback command line after has closed.
how go creating command line interface desktop app built using node-webkit?
you can use following array of command line arguments.
// load native ui library. var gui = require('nw.gui'); var commands = gui.app.argv;
Comments
Post a Comment