Skip to content

feat: add --exclude flag to filter out directories#2

Merged
brtkwr merged 1 commit intomainfrom
feat/exclude-dirs
Mar 9, 2026
Merged

feat: add --exclude flag to filter out directories#2
brtkwr merged 1 commit intomainfrom
feat/exclude-dirs

Conversation

@brtkwr
Copy link
Collaborator

@brtkwr brtkwr commented Mar 9, 2026

Summary

  • adds --exclude=pattern1,pattern2 flag to skip directories matching given strings
  • defaults to excluding observer-sessions (claude-mem plugin noise)
  • subagents remains hardcoded as always-excluded

Test plan

  • go test passes
  • go run . --exclude=observer-sessions filters correctly
  • go run . --exclude=foo,bar overrides defaults

🤖 Generated with Claude Code

Excludes directories containing specified strings from conversation search.
Defaults to excluding "observer-sessions" (claude-mem plugin noise).

Usage: ccs --exclude=pattern1,pattern2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@brtkwr brtkwr merged commit 146f776 into main Mar 9, 2026
1 check passed
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.

1 participant