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

Function _printJsonHelp

lib/commands/help.js:91–104  ·  view source on GitHub ↗
(commandOptions)

Source from the content-addressed store, hash-verified

89 },
90
91 _printJsonHelp(commandOptions) {
92 let generator = new JsonGenerator({
93 ui: this.ui,
94 project: this.project,
95 commands: this.commands,
96 tasks: this.tasks,
97 });
98
99 let json = generator.generate(commandOptions);
100
101 let outputJsonString = JSON.stringify(json, null, 2);
102
103 this.ui.writeLine(outputJsonString);
104 },
105
106 _printHelpForCommand(commandName, detailed, options) {
107 let command = this._resolveCommand(commandName);

Callers

nothing calls this directly

Calls 1

generateMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…