https://github.com/litongjava/go-tree
A simple version of the tree command implemented using the Go language
https://github.com/litongjava/go-tree
Last synced: about 1 year ago
JSON representation
A simple version of the tree command implemented using the Go language
- Host: GitHub
- URL: https://github.com/litongjava/go-tree
- Owner: litongjava
- License: apache-2.0
- Created: 2023-07-13T00:03:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T00:04:45.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T04:09:53.695Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# go-tree
A simple version of the tree command implemented using the Go language
## Usage
Use example
```
go-tree -I node_modules,.vscode F:\code\frontend\project-litongjava\litongjava-vs-code-kit
```
output
```
litongjava-vs-code-kit
├── .eslintrc.json
├── .vscodeignore
├── .yarnrc
├── CHANGELOG.md
├── README.md
├── extension.js
├── jsconfig.json
├── package.json
├── test
│ ├── runTest.js
│ ├── suite
│ │ ├── extension.test.js
│ │ ├── index.js
├── vsc-extension-quickstart.md
├── yarn.lock
```
Command syntax
```
go-tree
```
Parameter interpretation
-I Excluding directories, use commas to separate multiple directories
dir The default is the current directory