Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomarrell/tre
A simple, fast and interactive alternative to 'tree'
https://github.com/tomarrell/tre
cli terminal tree unix
Last synced: 18 days ago
JSON representation
A simple, fast and interactive alternative to 'tree'
- Host: GitHub
- URL: https://github.com/tomarrell/tre
- Owner: tomarrell
- License: gpl-3.0
- Created: 2018-09-03T08:03:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-02T02:35:10.000Z (about 6 years ago)
- Last Synced: 2024-10-15T16:11:33.778Z (about 1 month ago)
- Topics: cli, terminal, tree, unix
- Language: Rust
- Homepage:
- Size: 80.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE-GPL
Awesome Lists containing this project
README
# Tré
A simple, fast and interactive alternative to 'tree.'Tre doesn't aim for feature parity with tree necessarily, but aims to provide useful functionality on top of standard tree to speed up command-line file and directory navigation.
## Features
- Ignores hidden directories by default
- Parses .gitignore and ignores matching files/dirs
- Colorized output, easier to distinguish node types
- 25% shorted command than `tree`!# Installation
Currently installation is only from source.```bash
$ cargo install tre$ tre [options]
```# Benchmarks
Benchmarks run using Hyperfine `1.2.0` with 4 warmup runs before any recorded runs to warm the cache.```
Benchmark #1: tree ~ -L 4Time (mean ± σ): 276.7 ms ± 7.4 ms [User: 172.6 ms, System: 100.8 ms]
Range (min … max): 265.5 ms … 287.9 ms
``````
Benchmark #1: tre ~ -l 4Time (mean ± σ): 352.1 ms ± 6.7 ms [User: 197.8 ms, System: 150.9 ms]
Range (min … max): 344.1 ms … 365.7 ms
```# Contributing
If you find an bug with Tre, please log an issue on the repository. Feel free to suggest ideas for features you think might be useful.# License
Licensed under **MIT** *or* **GNU GPL v3.0**, at your discretion.