@method install @param {Object} options @return {Promise}
(options)
| 585 | @return {Promise} |
| 586 | */ |
| 587 | install(options) { |
| 588 | this._processOptions(options); |
| 589 | |
| 590 | this.hasPathToken = hasPathToken(this.files(this.options)); |
| 591 | |
| 592 | this.ui.writeLine(`installing ${this.name}`); |
| 593 | |
| 594 | if (this.dryRun) { |
| 595 | this.ui.writeLine(chalk.yellow('You specified the `dry-run` flag, so no changes will be written.')); |
| 596 | } |
| 597 | |
| 598 | this._normalizeEntityName(options.entity); |
| 599 | this._checkForPod(options.verbose); |
| 600 | this._checkInRepoAddonExists(options); |
| 601 | |
| 602 | logger.info('START: processing blueprint: `%s`', this.name); |
| 603 | let start = new Date(); |
| 604 | return this._process(options, this.beforeInstall, this.processFiles, this.afterInstall).finally(() => |
| 605 | logger.info('END: processing blueprint: `%s` in (%dms)', this.name, new Date() - start) |
| 606 | ); |
| 607 | }, |
| 608 | |
| 609 | /** |
| 610 | @method uninstall |
nothing calls this directly
no test coverage detected
searching dependent graphs…