Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vumanskyi/tree-tools
https://github.com/vumanskyi/tree-tools
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vumanskyi/tree-tools
- Owner: vumanskyi
- Created: 2020-06-25T18:31:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T18:54:12.000Z (over 4 years ago)
- Last Synced: 2023-03-05T05:49:43.066Z (almost 2 years ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simple tool to display the tree structure of your folder
==========================================================Display the tree structure with fiels:
```
go run main.go . -f
```Result:
```
├───lorem
│ └───lorem.txt(9b)
└───project
│ └───test.txt(20b)
```Display the tree structure only with folders (without files)
```
go run main.go .
```Result:
```
├───lorem
└───project
```Run test
```
go test -v
```Expected result:
```
=== RUN TestTreeFull
--- PASS: TestTreeFull (0.00s)
=== RUN TestTreeDir
--- PASS: TestTreeDir (0.00s)
PASS
ok _/Users/vladumanskyi/go/src/conc 0.089s
```