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

Function applyCommonOptions

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

Source from the content-addressed store, hash-verified

75 return satisfies;
76}
77function applyCommonOptions(program) {
78 program
79 .option('-h, --host [hostname]', 'specify the api host')
80 .option('-vb, --verbose', 'enable verbose info logging', false)
81 .option(
82 '--use-old-node-sass-fork',
83 'use old node sass fork for scss compilation during bundling',
84 false,
85 )
86 .parse(process.argv);
87}
88function setupCLI(options) {
89 stencilCLISettings.setVerbose(options.verbose);
90}

Callers 1

prepareCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected