diff --git a/package-lock.json b/package-lock.json index b4d9148..38a1d8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@microbs.io/cli", - "version": "0.2.13", + "version": "0.2.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@microbs.io/cli", - "version": "0.2.13", + "version": "0.2.14", "license": "Apache-2.0", "dependencies": { "@microbs.io/core": "^0.2.1", diff --git a/package.json b/package.json index c659332..fa96eb6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@microbs.io/cli", - "version": "0.2.13", + "version": "0.2.14", "description": "microservices observability", "license": "Apache-2.0", "url": "https://microbs.io", diff --git a/src/index.js b/src/index.js index a8d3d63..620afd6 100644 --- a/src/index.js +++ b/src/index.js @@ -20,11 +20,8 @@ module.exports.run = async () => { // persist them in the global context object. args.parse() - // Run the command. + // Prepare the config, apps, and plugins for operational commands. switch (context.get('command')) { - - // Prepare the config, apps, and plugins for operational commands. - // Don't break the switch yet after completion. case 'setup': case 'rollout': case 'stabilize': @@ -41,7 +38,11 @@ module.exports.run = async () => { config.init() apps.load() plugins.load() - + break + } + + // Run the command. + switch (context.get('command')) { case 'setup': return await commands.setup.run() case 'rollout':