Skip to content

adds new features#6

Merged
neomen merged 1 commit into
mainfrom
update
May 22, 2026
Merged

adds new features#6
neomen merged 1 commit into
mainfrom
update

Conversation

@neomen

@neomen neomen commented May 22, 2026

Copy link
Copy Markdown
Owner

This PR adds several new features to improve the project structure export functionality for LLM context:

New Features

  1. --minify flag - Strips whitespace and empty lines from file contents to reduce token usage when exporting to single file for LLM context
  2. Flag position flexibility - All flags can now be placed either before or after the directory argument (e.g., buildtree -s out.txt . -f "go,md" and buildtree -s out.txt -f "go,md" . both work)
  3. Glob pattern support in filters - --filter now accepts glob patterns (e.g., *.go, config.*, *.md)
  4. --ignore flag - Added support for ignoring specific files using glob patterns (e.g., *_test.go,*.log)
  5. Default text file filtering - By default, only common text file extensions are exported (go, js, ts, py, md, json, yaml, xml, txt, etc.) to prevent binary files from being included

@neomen neomen merged commit 8fea319 into main May 22, 2026
3 checks passed
@neomen neomen deleted the update branch June 15, 2026 18:54
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