cmd/createCodeInsightHelper

Command line module.

Create service scripts containing entity definition for code insight in WebStorm or other IDE work well. Usage:

/from a command line

ub cmd/createCodeInsightHelper -u admin -p admin -m UBS -cfg myConfig.json

//from a script var createCodeInsightHelper = require('cmd/createCodeInsightHelper'); var options = { host: "http://localhost:888", user: "admin", pwd: "admin", model: 'UBS' }; createCodeInsightHelper(options);

Author:
  • pavel.mash

Methods

namedCollection2Array(namedCollection) inner

Convert named collection - {name1: {}, name2: {}} to array -> [{name: name1, ...}, ...] Will mutate original!
Arguments:
  1. namedCollection