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

Method run

commands/make/view.ts:65–79  ·  view source on GitHub ↗

* Execute the command to create a new Edge.js template file. * Generates the template file in the views directory.

()

Source from the content-addressed store, hash-verified

63 * Generates the template file in the views directory.
64 */
65 async run() {
66 const codemods = await this.createCodemods()
67 codemods.overwriteExisting = this.force === true
68 await codemods.makeUsingStub(
69 stubsRoot,
70 this.stubPath,
71 {
72 flags: this.parsed.flags,
73 entity: this.app.generators.createEntity(this.name),
74 },
75 {
76 contentsFromFile: this.contentsFrom,
77 }
78 )
79 }
80}

Callers

nothing calls this directly

Calls 2

makeUsingStubMethod · 0.80
createCodemodsMethod · 0.45

Tested by

no test coverage detected