Skip to content

Conversation

@JordanCoin
Copy link
Owner

Summary

  • --only <exts> - Show only files with specific extensions (e.g., --only swift,go)
  • --exclude <patterns> - Exclude files matching patterns (e.g., --exclude .xcassets,Fonts,.png)

Smart pattern matching (no quotes needed)

Pattern Matches
.png or png Any .png file
Fonts Any /Fonts/ directory
*Test* Explicit glob pattern

Example: iOS project

# Before: 358 files including 93 PNGs, 52 fonts, 52 JSON asset files
codemap /path/to/ios-app

# After: Just the 92 Swift files
codemap --only swift /path/to/ios-app

Also in this PR

  • Reorganized README (405 → 139 lines)
  • Moved HOOKS.md → docs/HOOKS.md
  • Created docs/MCP.md (extracted from README)

Test plan

  • go test ./... passes
  • Tested --only swift on iOS project (358 → 92 files)
  • Tested --exclude .xcassets,Fonts,.png (358 → 145 files)
  • Tested combined --only swift --exclude "*Test*" (84 files)
  • Verified --help shows new flags

🤖 Generated with Claude Code

New flags for focusing on what matters:
- --only <exts>: Show only files with specific extensions (e.g., --only swift,go)
- --exclude <patterns>: Exclude files matching patterns (e.g., --exclude .xcassets,Fonts,.png)

Smart pattern matching - no quotes or wildcards needed:
- .png or png → matches any .png file
- Fonts → matches any /Fonts/ directory
- *Test* → explicit glob pattern when needed

Also:
- Reorganized README (405 → 139 lines)
- Moved HOOKS.md to docs/
- Created docs/MCP.md for MCP server documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@JordanCoin JordanCoin merged commit 289eff2 into main Dec 10, 2025
12 checks passed
@JordanCoin JordanCoin deleted the feature/only-exclude-filters branch December 10, 2025 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants