# src/cli dir: src/cli index: src/cli/.pi-map.index.md ## role Command-line interface entry point for a project mapping tool that manages hierarchical `.pi-map.md` files through generation, patching, validation, and LLM-powered context retrieval. ## files - cli.ts | CLI entry point for a project mapping tool that generates, patches, validates, and retrieves context from hierarchical `.pi-map.md` files using LLM-powered analysis. | dep: ../init.js, ../patch.js, ../validate.js, ../discover.js, ../retrieve.js, ../llm/llm-client.js, ../config.js, picocolors, process, fs (implied via require) ## arch Single-file CLI facade with command routing to core engine services, likely using a command pattern or direct service delegation for map lifecycle operations. ## tags js, cli, llm, entry, point, project, mapping, tool ## symbols - ## workflows - change cli behavior read: cli.ts - change cli CLI read: cli.ts ## dirty -