* Execute the command to create a new Ace command class. * Generates the command file with proper CLI command structure.
()
| 64 | * Generates the command file with proper CLI command structure. |
| 65 | */ |
| 66 | async run() { |
| 67 | const codemods = await this.createCodemods() |
| 68 | codemods.overwriteExisting = this.force === true |
| 69 | await codemods.makeUsingStub( |
| 70 | stubsRoot, |
| 71 | this.stubPath, |
| 72 | { |
| 73 | flags: this.parsed.flags, |
| 74 | entity: this.app.generators.createEntity(this.name), |
| 75 | }, |
| 76 | { |
| 77 | contentsFromFile: this.contentsFrom, |
| 78 | } |
| 79 | ) |
| 80 | } |
| 81 | } |
nothing calls this directly
no test coverage detected