()
| 46 | } |
| 47 | |
| 48 | function 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 | |
| 58 | if (require.main === module) { |
| 59 | main(); |
no test coverage detected