A command-line tool for generating and visualizing directory tree structures in the terminal!
canopy <path>
Example:
canopy /path/to/directory
This will print a tree-like structure of the directory and its subdirectories.
Ran after just the
--interactive flag!
Ran
virex-canopy C:\ --depth 0
- Simply use crates to install canopy!
- Command:
cargo install virex-canopy- that's it!
-
Download the installer binary for your platform from the releases page.
-
Run the installer:
- Windows:
canopy-installer.exe - Linux:
./canopy-installer
The installer will copy the canopy binary to your home directory and add it to your PATH.
- Windows:
-
Ensure you have Rust installed. Download from rustup.rs.
-
Clone the repository:
git clone <repository-url> cd canopy -
Build the project:
cargo build --release -
The binary will be located at
target/release/canopy. -
To install manually, copy the binary to a directory in your PATH, e.g.,
~/bin/or%USERPROFILE%\bin\.
Download the latest release for your platform from the releases page.
Canopy is built with Rust and supports multiple platforms:
- Windows (x86_64)
- Linux (x86_64)
To build for a specific target:
- For Linux:
cargo build --release --target x86_64-unknown-linux-gnu - For Windows:
cargo build --release --target x86_64-pc-windows-gnu
- Recursive directory traversal
- Clean tree visualization with Unicode box-drawing characters
- Sorted output for consistent results
- Error handling for invalid paths
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the GPL-3.0 License. For more info, check the LICENSE File.