(commandOptions, addonNames)
| 28 | anonymousOptions: ['<addon-name>'], |
| 29 | |
| 30 | async run(commandOptions, addonNames) { |
| 31 | if (!addonNames.length) { |
| 32 | let installCommand = await determineInstallCommand(this.project.root); |
| 33 | |
| 34 | throw new SilentError( |
| 35 | `An addon's name is required when running the \`install\` command. If you want to install all node modules, please run \`${installCommand}\` instead.` |
| 36 | ); |
| 37 | } |
| 38 | |
| 39 | return this.runTask('AddonInstall', { |
| 40 | packages: addonNames, |
| 41 | blueprintOptions: commandOptions, |
| 42 | }); |
| 43 | }, |
| 44 | |
| 45 | _env() { |
| 46 | return { |
nothing calls this directly
no test coverage detected