MCPcopy
hub / github.com/smapiot/piral / getCall

Function getCall

tools/generate-command-docs.js:248–251  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

246}
247
248function getCall(command) {
249 const parts = command.name.split('-');
250 return `${parts.pop()} ${parts.join('-')}`;
251}
252
253function generateBody(command, validators) {
254 const { positionals, flags } = getCommandData(command.flags);

Callers 2

detailsFunction · 0.85
generateBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected