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

Method run

lib/StencilDebug.js:23–38  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

21 }
22
23 async run(options) {
24 const platform = this.getPlatformInfo();
25 const nodeVersion = this.getNodeJsVersion();
26 const version = this.getCliVersion();
27 const theme = await this.getThemeInfo();
28 const stencil = await this.getStencilInfo();
29 const info = {
30 platform,
31 version,
32 nodeVersion,
33 stencil,
34 theme,
35 };
36 const result = this.prepareResult(info);
37 await this.printResult(result, options);
38 }
39
40 getPlatformInfo() {
41 return {

Callers

nothing calls this directly

Calls 7

getPlatformInfoMethod · 0.95
getNodeJsVersionMethod · 0.95
getCliVersionMethod · 0.95
getThemeInfoMethod · 0.95
getStencilInfoMethod · 0.95
prepareResultMethod · 0.95
printResultMethod · 0.95

Tested by

no test coverage detected