https://github.com/ginglis13/treego
:evergreen_tree: An implementation of the Unix tree command in Go
https://github.com/ginglis13/treego
go golang tree unix
Last synced: 8 months ago
JSON representation
:evergreen_tree: An implementation of the Unix tree command in Go
- Host: GitHub
- URL: https://github.com/ginglis13/treego
- Owner: ginglis13
- Created: 2020-01-07T20:59:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T11:09:10.000Z (over 6 years ago)
- Last Synced: 2025-08-09T21:44:58.839Z (10 months ago)
- Topics: go, golang, tree, unix
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# treego
An implementation of the Unix [tree](https://linux.die.net/man/1/tree) command in Go.
Just a way of practicing Go a bit more.

### Options implemented
```
--help
-a All files are listed
-d List directories only
-f Print full path prefixes
-i Do not print any indendation prefixes
-s Print size of each file
-noreport Omit printing of report of files and dirs
```
### TODO
1. There's a bunch more flags listed on the man page. I might add some more simple ones like checking uid or gid.
2. Show/expand symlinks (i.e., fakefile.txt -> /usr/share/fakefile.txt)
3. Add colors?
I hope to write this in Rust and maybe C eventually.