bin/serviser.js
Function _initializeYargs
has 48 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 serviser app - expects it to be located under cwd', {
cluster: {
Function defaultCmd
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultCmd(argv) {
//we look for user defined shell commands:
config.initialize({fileConfigPath: argv.config});
let ya = require('yargs/yargs')();