Skip to content
/ tree Public

A simple tree-viewer CLI

License

Notifications You must be signed in to change notification settings

typable/tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree

A simple tree-viewer CLI

Usage

The following command:

tree --path=git/tree

Results in this output:

git/tree/
 ├ Cargo.lock
 ├ Cargo.toml
 ├ LICENSE
 ├ src/
 │  └ main.rs
 └ target/
    ├ CACHEDIR.TAG
    └ debug/
       ├ build/
       ├ deps/
       │  ├ tree.d
       │  ├ tree.exe
       │  └ tree.pdb
       ├ examples/
       ├ incremental/
       ├ tree.d
       ├ tree.exe
       └ tree.pdb

Notice: If the command is used without any arguments, it will use the current terminal path.

Arguments

All arguments can be use independently with each other.

Argument Description Example
--path [-p] Specifies the to be used path --path=git/tree
--level [-l] Specifies the depth of the tree --level=0
--out [-o] Specifies the output file --out=tree.txt
--all [-a] Shows all .* files and directories --all
--help [-h] Shows a list of all commands --help