MCPcopy Create free account
hub / github.com/play-co/devkit / getHelpText

Function getHelpText

src/commands/debug.js:93–106  ·  view source on GitHub ↗
(target, buildModule)

Source from the content-addressed store, hash-verified

91}
92
93function getHelpText(target, buildModule) {
94 if (buildModule.opts) {
95 return target + ':\n'
96 + buildModule.opts.help().replace(/^Options:/, '')
97 .split('\n')
98 .map(function (line) {
99 return ' ' + line;
100 })
101 .join('\n');
102 } else {
103 return target + ':\n'
104 + "\n Sorry! No help is available for this build target\n";
105 }
106}
107
108function getBuildModules(app) {
109 var buildModules = {};

Callers 1

getHelpFunction · 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…