[BUG] --add-dir doesn't seem to work?

Resolved 💬 5 comments Opened Jun 12, 2025 by vladholubiev Closed Jun 23, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.21 (Claude Code)
  • Operating System: macOS
  • Terminal: iTerm2

Bug Description

claude --add-dir /other-repo

I then ask claude about /other-repo and it acts like it doesn't know about it.

Steps to Reproduce

  1. claude --add-dir /other-repo
  2. ask what is other-repo?
  3. tells it knows nothing

Expected Behavior

Claude Code would recognize /other-repo as if it were part of the current project.

Actual Behavior

It didn't recognize.

Additional Context

None.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗