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

Function writeCommandContent

tools/generate-command-docs.js:23–26  ·  view source on GitHub ↗
(command, content)

Source from the content-addressed store, hash-verified

21}
22
23function writeCommandContent(command, content) {
24 const commandMdPath = getCommandPath(command);
25 writeFileSync(commandMdPath, content, 'utf8');
26}
27
28function shell(content) {
29 const start = '```sh';

Callers 1

generateCommandDocsFunction · 0.85

Calls 1

getCommandPathFunction · 0.85

Tested by

no test coverage detected