Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 19 days 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T11:09:10.000Z (almost 5 years ago)
- Last Synced: 2024-04-17T21:29:17.118Z (7 months ago)
- Topics: go, golang, tree, unix
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- 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.
![screenshot](https://yld.me/raw/baBn.png)
### 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.