UNPKG

wavelet

Version:

Service Oriented nodejs application with a visual tool.

1 lines 1.51 kB
module.exports = function(help) { if (!help) { help = []; } console.log('Wavelet version ' + global._waveletVersion); console.log('Runtime version ' + global._runtimeVersion); console.log('') console.log('Usage: wavelet [action] [options]'); console.log('Action:'); console.log(''); console.log('start [app] [options] start an application'); console.log(' App: application path, by default: current working directory'); console.log(' Options:'); console.log(' --config: the wavelet configuration file, by default {your app}/app.js'); console.log(' --root: the web app root'); console.log(' --port: the web app port'); console.log(' --disableEditor: disable the application editor'); console.log(' --disableRED: (alias of disableEditor) disable the application editor'); console.log(' Plugin Options:'); console.log(''); console.log('create [project] create a wavelet project'); console.log(''); console.log('install [plugin/wavelet] [version] install plugin or wavelet'); console.log(''); console.log('install red node-red-name [version] install node-red node'); console.log(''); console.log('get repo get repository location'); console.log(''); console.log('set repo [location] set repository location'); console.log(''); console.log('Other Options'); console.log('-d debug mode'); console.log('-v show version'); for (var i = 0; i < help.length; i++) { console.log(' ' + help[i]); } console.log(''); };