mirror of
https://github.com/n8n-io/n8n.git
synced 2026-07-29 03:55:15 +02:00
8 lines
260 B
JavaScript
8 lines
260 B
JavaScript
import { buildCatalog, formatCatalog, TELEMETRY_EVENT } from '../dist/index.js';
|
|
|
|
const catalog = buildCatalog(TELEMETRY_EVENT);
|
|
const output = process.argv.includes('--json')
|
|
? JSON.stringify(catalog, null, 2)
|
|
: formatCatalog(catalog);
|
|
console.log(output);
|