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

Function applyCommand

tests/helpers/acceptance.js:38–48  ·  view source on GitHub ↗
(command, name /*, ...flags*/)

Source from the content-addressed store, hash-verified

36}
37
38function applyCommand(command, name /*, ...flags*/) {
39 let flags = [].slice.call(arguments, 2, arguments.length);
40 let binaryPath = path.resolve(path.join(__dirname, '..', '..', 'bin', 'ember'));
41 let args = [binaryPath, command, name, '--watcher=node', '--skip-git', runCommandOptions];
42
43 flags.forEach(function (flag) {
44 args.splice(2, 0, flag);
45 });
46
47 return runCommand.apply(undefined, args);
48}
49
50/**
51 * @class PrivateTestHelpers

Callers 2

createTestTargetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…