MCPcopy
hub / github.com/adonisjs/core / constructor

Method constructor

modules/ace/kernel.ts:33–41  ·  view source on GitHub ↗

* Create a new Ace kernel instance * * @param app - The AdonisJS application instance

(public app: ApplicationService)

Source from the content-addressed store, hash-verified

31 * @param app - The AdonisJS application instance
32 */
33 constructor(public app: ApplicationService) {
34 super(ListCommand, {
35 create: async (command, parsedOutput, $kernel) => {
36 return app.container.make(command, [app, $kernel, parsedOutput, $kernel.ui, $kernel.prompt])
37 },
38
39 run: (command) => command.exec(),
40 })
41 }
42}

Callers

nothing calls this directly

Calls 2

makeMethod · 0.80
execMethod · 0.80

Tested by

no test coverage detected