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

Method _lookupCommand

lib/utilities/json-generator.js:60–69  ·  view source on GitHub ↗
(commandName)

Source from the content-addressed store, hash-verified

58 }
59
60 _lookupCommand(commandName) {
61 let Command = this.commands[stringUtils.classify(commandName)] || lookupCommand(this.commands, commandName);
62
63 return new Command({
64 ui: this.ui,
65 project: this.project,
66 commands: this.commands,
67 tasks: this.tasks,
68 });
69 }
70}
71
72module.exports = JsonGenerator;

Callers 2

_addCommandHelpToJsonMethod · 0.95
_resolveCommandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected