diff --git a/lib/hubspot/helpers.js b/lib/hubspot/helpers.js index 9fa5f9e..47f36f1 100644 --- a/lib/hubspot/helpers.js +++ b/lib/hubspot/helpers.js @@ -4,6 +4,12 @@ import { globals } from '../config/globals.js' import prompts from 'prompts' import chalk from 'chalk' +if (process.argv.slice(2)[0] === '--themeConfirm=true') { + const themeConfirmArr = process.argv.slice(2)[0].slice(2).split('=') + const themeConfirmObj = { [themeConfirmArr[0]]: themeConfirmArr[1] } + prompts.override(themeConfirmObj) +} + /** * @summary show prompt to confirm theme name * @async