* Execute the command to create a new VineJS validator file. * Generates the validator with the appropriate stub template.
()
| 94 | * Generates the validator with the appropriate stub template. |
| 95 | */ |
| 96 | async run() { |
| 97 | const codemods = await this.createCodemods() |
| 98 | codemods.overwriteExisting = this.force === true |
| 99 | await codemods.makeUsingStub( |
| 100 | stubsRoot, |
| 101 | this.stubPath, |
| 102 | { |
| 103 | flags: this.parsed.flags, |
| 104 | entity: this.app.generators.createEntity(this.name), |
| 105 | }, |
| 106 | { |
| 107 | contentsFromFile: this.contentsFrom, |
| 108 | } |
| 109 | ) |
| 110 | } |
| 111 | } |
nothing calls this directly
no test coverage detected