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

Function loadCommands

lib/cli/index.js:24–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22const heimdall = require('heimdalljs');
23
24function loadCommands() {
25 let token = heimdall.start('load-commands');
26 const Command = require('../models/command');
27 let hash = requireAsHash('../commands/*.js', Command);
28 token.stop();
29 return hash;
30}
31
32function loadTasks() {
33 let token = heimdall.start('load-tasks');

Callers 1

index.jsFile · 0.85

Calls 2

requireAsHashFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…