MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / run

Function run

lib/commands/install.js:30–43  ·  view source on GitHub ↗
(commandOptions, addonNames)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

determineInstallCommandFunction · 0.85

Tested by

no test coverage detected