Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vumanskyi/tree-tools


https://github.com/vumanskyi/tree-tools

Last synced: about 2 months ago
JSON representation

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
```