import { moduleMap } from '../../presentation/queries-cli.js';
export const command = {
    name: 'map',
    description: 'High-level module overview with most-connected nodes',
    options: [
        ['-d, --db <path>', 'Path to graph.db'],
        ['-n, --limit <number>', 'Number of top nodes', '20'],
        ['-T, --no-tests', 'Exclude test/spec files from results'],
        ['--include-tests', 'Include test/spec files (overrides excludeTests config)'],
        ['-j, --json', 'Output as JSON'],
    ],
    execute(_args, opts, ctx) {
        moduleMap(opts.db, parseInt(opts.limit, 10), {
            noTests: ctx.resolveNoTests(opts),
            json: opts.json,
        });
    },
};
//# sourceMappingURL=map.js.map