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

Method constructor

lib/cli/cli.js:21–75  ·  view source on GitHub ↗

* @private * @class CLI * @constructor * @param options

(options)

Source from the content-addressed store, hash-verified

19 * @param options
20 */
21 constructor(options) {
22 /**
23 * @private
24 * @property name
25 */
26 this.name = options.name;
27
28 /**
29 * @private
30 * @property ui
31 * @type UI
32 */
33 this.ui = options.ui;
34
35 /**
36 * @private
37 * @property testing
38 * @type Boolean
39 */
40 this.testing = options.testing;
41
42 /**
43 * @private
44 * @property disableDependencyChecker
45 * @type Boolean
46 */
47 this.disableDependencyChecker = options.disableDependencyChecker;
48
49 /**
50 * @private
51 * @property root
52 */
53 this.root = options.root;
54
55 /**
56 * @private
57 * @property npmPackage
58 */
59 this.npmPackage = options.npmPackage;
60
61 /**
62 * @private
63 * @property instrumentation
64 */
65 this.instrumentation =
66 options.instrumentation ||
67 new Instrumentation({
68 ui: options.ui,
69 initInstrumentation: options.initInstrumentation,
70 });
71
72 this.packageInfoCache = new PackageInfoCache(this.ui);
73
74 logger.info('testing %o', !!this.testing);
75 }
76
77 /**
78 * @private

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected