MCPcopy
hub / github.com/thinkjs/thinkjs / runInCli

Method runInCli

lib/application.js:178–185  ·  view source on GitHub ↗

* command line invoke

(argv)

Source from the content-addressed store, hash-verified

176 * command line invoke
177 */
178 runInCli(argv) {
179 think.app.emit('appReady');
180 return mockHttp({
181 url: argv.path,
182 method: 'CLI',
183 exitOnEnd: true
184 }, think.app);
185 }
186 /**
187 * check test env
188 */

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected