go-tree

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 1 Imported by: 0

README

go-tree

go-tree is a tool which draws a tree of directory structure

Install

go get github.com/ibrahimaydinnet/go-tree
cd <YOUR_GOPATH>/src/github.com/ibrahimaydinnet/go-tree
go install -mod=vendor

Usage

go-tree [flags]

usage

Flags

-a, --all             Flag to list files starts with "."
-c, --color           Flag to colorize output
-d, --date            Flag to show modified times
-e, --emoji           Flag to show file and dir emojis (not supported on windows)
-f, --find string     Substring of file names to find
-h, --help            help for go-tree
-j, --justdir         Flag to list just directories
-l, --level int       Max level of tree depth
-m, --mode            Flag to show permission modes
-n, --number          Flag to show total numbers of files and directories
-o, --output string   File path to write output
-p, --path            Flag to show fullpaths
-r, --root string     Root path of the tree (default "./")
-s, --size            Flag to show formatted sizes
-t, --trim            Flag to trim empty directories
-v, --verbose         Flag to show not formatted sizes
-w, --win             Flag to list hidden files for windows

Credits

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL