← Files ACE Carousel CreatorARCHIVED FILE

scripts/get-spec.mjs

311 Bytes · Nov 9, 2026 · 01:20 UTC

↓ Download file

See the change to this file →

import { getSpecResponse } from '../src/spec.mjs';

try {
  const [section = 'overview', query = '', category] = process.argv.slice(2);
  console.log(JSON.stringify(getSpecResponse(section, query, category ? { category } : {}), null, 2));
} catch (error) { console.error(error.message); process.exitCode = 1; }

SHA-256: 771b4044e7bb24fa563b169e8c1880b41709c76c35c5778279004b47f85861d9