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

Method run

commands/make/controller.ts:144–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 }
143
144 async run() {
145 const codemods = await this.createCodemods()
146 codemods.overwriteExisting = this.force === true
147 await codemods.makeUsingStub(
148 stubsRoot,
149 this.stubPath,
150 {
151 flags: this.parsed.flags,
152 actions: this.actions?.map((action) => string.camelCase(action)),
153 entity: this.app.generators.createEntity(this.name),
154 singular: this.singular,
155 },
156 {
157 contentsFromFile: this.contentsFrom,
158 }
159 )
160 }
161}

Callers

nothing calls this directly

Calls 2

makeUsingStubMethod · 0.80
createCodemodsMethod · 0.45

Tested by

no test coverage detected