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

Method run

commands/eject.ts:57–66  ·  view source on GitHub ↗

* Execute the command to eject stubs from the specified package. * Copies the stubs to the application root and logs success messages * for each ejected file.

()

Source from the content-addressed store, hash-verified

55 * for each ejected file.
56 */
57 async run() {
58 const stubs = await this.app.stubs.create()
59 const copied = await stubs.copy(this.stubPath, {
60 pkg: this.pkg,
61 })
62
63 copied.forEach((stubPath) => {
64 this.logger.success(`eject ${stringHelpers.toUnixSlash(this.app.relativePath(stubPath))}`)
65 })
66 }
67}

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected