src/entrypoints/cli.tsx
- Entity ID:
ent-20260420-b01a00000012 - Type:
file - Scope:
shared - Status:
active - Aliases: cli.tsx, main CLI entrypoint
Description
Primary Claude Code CLI entrypoint used as the esbuild bundle root. A .tsx file (React/TSX at top level) that reads env vars at module scope, kicks off initialization via src/entrypoints/init.ts, and mounts the Ink React tree. Distinct from src/main.tsx (also referenced elsewhere as the main entry point) — cli.tsx is the one used by the rebuild build system.
Key claims
- none yet
Relations
- esbuild Build System (scripts/build-bundle.ts) --[bundles]--> src/entrypoints/cli.tsx
- src/entrypoints/cli.tsx --[part_of]--> Entrypoint System
- src/entrypoints/cli.tsx --[mounts]--> src/ink Custom Fork