MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / printMapUsage

Function printMapUsage

src/cli-map.ts:29–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29function printMapUsage(): void {
30 console.log('codebase-context map [options]');
31 console.log('');
32 console.log('Output the conventions map for the current codebase.');
33 console.log('');
34 console.log('Options:');
35 console.log(' --export Write CODEBASE_MAP.md to project root (still honors --full)');
36 console.log(' --full Output the exhaustive map instead of the bounded default');
37 console.log(' --json Output raw JSON (CodebaseMapSummary)');
38 console.log(' --pretty Terminal-friendly box layout');
39 console.log(' --help Show this help');
40 console.log('');
41 console.log('Default output is markdown (pipeable).');
42}
43
44export async function handleMapCli(args: string[]): Promise<void> {
45 const useJson = args.includes('--json');

Callers 1

handleMapCliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected