Repository navigation
Releases
Releases · O6lvl4/treesrc
v1.0.2
This release adds automatic detection and skipping of binary file contents. When a binary file is detected, its contents are skipped with a clear informational message.
What's New
- Automatic binary file detection based on initial file content
- Skips displaying binary file contents with message "Binary file not displayed."
- Documentation improvements reflecting new behavior
v1.0.1
Here's the release description in English you can use when creating the GitHub tag (v1.0.1):
🌳 treesrc v1.0.1
🔧 Improvements
- Added
.gitdirectory to the default ignore patterns. - Improved documentation for clarity.
🐛 Fixes
- Ensured the
.gitdirectory is always ignored by default, regardless of.gitignoreconfiguration.
🚀 Update Instructions
To update to the latest version, run:
npm update -g treesrcv1.0.0
🌳 treesrc v1.0.0 Released! 🎉
We are thrilled to announce the first stable release (v1.0.0) of treesrc, a TypeScript-based CLI tool that neatly displays directory structures and file contents, fully respecting .gitignore rules.
🔥 Features
- Display directory structures as a tree view
- Output file contents clearly
- Automatically respect
.gitignorerules - Easily add custom ignore patterns
🚀 Tech Stack
- Built with TypeScript for type safety and maintainability
- Commander.js for intuitive CLI interactions
- Uses ignore library to apply
.gitignorepatterns
📦 Installation
Install globally:
npm install -g treesrcOr use temporarily with:
npx treesrc <directory>🛠️ Usage Examples
Basic usage:
treesrc ./my-projectWith custom ignore patterns:
treesrc ./my-project -i '*.log' '*.tmp'🎯 Key Changes in v1.0.0
- First stable production-ready release
- Complete rewrite and refactor to TypeScript
- Published as an npm package
- Established a robust build process
- Improved documentation and README