uobikiemukot / go-tree

tree command implementation in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

desc

tree command implementation in go.

files

$ ./tree .
.
|-- README.md
|-- cmd
|   `-- tree
|       `-- main.go
|-- go.mod
|-- makefile
|-- test
|   |-- dir1
|   |   |-- dir11
|   |   |   `-- file3
|   |   `-- dir12
|   |       |-- file4
|   |       `-- file5
|   |-- dir2
|   |   |-- file21
|   |   `-- file22
|   `-- dir3
|       |-- dir31
|       |   `-- dir32
|       |       `-- dir33
|       |-- file31
|       `-- file32
|-- tree
|-- tree.gif
|-- tree.go
`-- tree_test.go

usage

synopsis

$ tree [-h] [-c] [-d depth] [directory ...]

options

-h

show help message

-c

enable colorized output

-d

set max depth (-1 for unlimit)

build options

lint

run go vet and golint

build

create executable binary

pack

create zip file including this repository

test

test tree_test.go

coverage/cprofile/mprofile

output coverage and profile

About

tree command implementation in go


Languages

Language:Go 80.9%Language:Makefile 19.1%