MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / run

Function run

lib/commands/addon.js:51–61  ·  view source on GitHub ↗
(commandOptions, commandArguments)

Source from the content-addressed store, hash-verified

49 anonymousOptions: ['<addon-name>'],
50
51 run(commandOptions, commandArguments) {
52 let addonName = commandArguments[0];
53
54 if (addonName) {
55 return this._super(commandOptions, commandArguments);
56 }
57
58 return Promise.reject(
59 new SilentError('The `ember addon` command requires a name to be specified. For more details, run `ember help`.')
60 );
61 },
62});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected