A highly configurable tree view visualizer CLI tool written in Rust!
- Visualize your file hierarchy in a tree view
- Customize the appearance of your tree
- Display custom file information (permissions, time, user, etc)
- Personalize tree color and text styling
# Cargo Installation
cargo install ctv
# Homebrew Installation
brew install angelina-tsuboi/ctv/ctv
# NetBSD
pkgin install ctv
ctv <flags> <directory_path>
-h, --short
--help Print help information
-l, --limit <LIMIT>
-p, --config Show config variables and exit
-V, --version Print version information
The config.toml
file located at ~/.config/ctv.toml
allows you to customize the appearance of your tree display!
If the configuration does not exist, defaults will be used. A copy of the default ctv.toml
is available on this repository.
Additionally, you can specify configuration via environment variables. For example, here's two ways of specifying the sort order:
# config.toml
sorting = ["size", "name", "time"]
# command line
$ CTV_SORTING='["size", "name", "time"]' ctv