bin/bi-service.js
Function _initializeYargs
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _initializeYargs(ya) {
ya = ya
.usage('$0 <command> [options]')
.command(['run [options..]', 'start', 'serve'], 'Starts bi-service app - expects it to be located under cwd', {
cluster: {
Function defaultCmd
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultCmd(argv) {
if (argv['get-conf'] !== undefined) {
getConfigCmd(argv);
//if no supported commands or options were matched so far,