MCPcopy Create free account
hub / github.com/GrapesJS/cli / run

Function run

src/cli.ts:154–161  ·  view source on GitHub ↗
(opts = {})

Source from the content-addressed store, hash-verified

152};
153
154export const run = async (opts = {}) => {
155 try {
156 let options = await argsToOpts();
157 if (!options._.length) yargs.showHelp();
158 } catch (error) {
159 printError((error.stack || error).toString())
160 }
161}
162
163run();

Callers 1

cli.tsFile · 0.85

Calls 2

printErrorFunction · 0.90
argsToOptsFunction · 0.85

Tested by

no test coverage detected