* Execute the command to create a new Edge.js template file. * Generates the template file in the views directory.
()
| 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 | } |
nothing calls this directly
no test coverage detected