@hubspot/cms-cli
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -38,16 +38,3 @@ const Logger = require('@hubspot/cms-lib/logger'); | ||
const addTestingOptions = program => { | ||
const qaFlagOption = '--qa'; | ||
program.option(qaFlagOption, 'run command in qa mode', false); | ||
// This allows us to hide the output of this option in the help text | ||
// because commander does not support hiding it | ||
// see https://github.com/tj/commander.js/issues/811 | ||
program.help(output => { | ||
return output | ||
.split('\n') | ||
.filter( | ||
helpTextLineContent => helpTextLineContent.indexOf(qaFlagOption) === -1 | ||
) | ||
.join('\n'); | ||
}); | ||
program.option('--qa', 'run command in qa mode', false); | ||
}; | ||
@@ -54,0 +41,0 @@ |
{ | ||
"name": "@hubspot/cms-cli", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "CLI for interacting with the HubSpot CMS", | ||
@@ -30,3 +30,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "65b9cb9892dd6c398dbb1b4076a2f6c8be18dd15" | ||
"gitHead": "0dfcc48464c5b203694844e8e642e328ecb64378" | ||
} |
92905
2709