MCPcopy Create free account
hub / github.com/bigcommerce/stencil-cli / prepareCommand

Function prepareCommand

lib/cliCommon.js:91–97  ·  view source on GitHub ↗
(program)

Source from the content-addressed store, hash-verified

89 stencilCLISettings.setVerbose(options.verbose);
90}
91function prepareCommand(program) {
92 applyCommonOptions(program);
93 checkNodeVersion();
94 const options = program.opts();
95 setupCLI(options);
96 return options;
97}
98export { messages };
99export { printCliResultError };
100export { printCliResultErrorAndExit };

Callers 6

stencil-init.jsFile · 0.90
stencil-bundle.jsFile · 0.90
stencil-pull.jsFile · 0.90
stencil-start.jsFile · 0.90
stencil-push.jsFile · 0.90

Calls 3

applyCommonOptionsFunction · 0.85
checkNodeVersionFunction · 0.85
setupCLIFunction · 0.85

Tested by

no test coverage detected