MCPcopy Create free account
hub / github.com/SethGammon/Citadel / main

Function main

scripts/skill-catalog.js:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48function main() {
49 const args = parseArgs(process.argv);
50 if (args.help) {
51 process.stdout.write(`${usage()}\n`);
52 return;
53 }
54 const catalog = filterCatalog(buildSkillCatalog(args.projectRoot), args);
55 process.stdout.write(args.json ? `${JSON.stringify(catalog, null, 2)}\n` : render(catalog));
56}
57
58if (require.main === module) {
59 main();

Callers 1

skill-catalog.jsFile · 0.70

Calls 5

filterCatalogFunction · 0.85
buildSkillCatalogFunction · 0.85
parseArgsFunction · 0.70
usageFunction · 0.70
renderFunction · 0.70

Tested by

no test coverage detected