1 unstable release
0.1.2 | Jun 4, 2021 |
---|
#76 in #tree-node
38KB
169 lines
tree2tui is a command line tool to build a Terminal UI (TUI) for tree
like command,
aiming to enable folding/expanding tree nodes for large/complex tree.
Usage
$ tree | tree2tui
$ cargo tree | tree2tui
$ cargo tree | tree2tui --cargo
options
USAGE:
tree2tui [FLAGS] [OPTIONS]
FLAGS:
-c, --cargo enable folding/expanding duplicate nodes of "cargo tree"
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-d, --data <data> group selected from regex as tree's data, if not set using all data after
node
-n, --node <node> group selected from regex as tree's node [default: 1]
-r, --regex <regex> regex to capture the tree's node [default: [│\s]*([├└]─*\s*)]
Dependencies
~15MB
~256K SLoC