Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fearandesire/pathy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

17 Commits

Repository files navigation

pathy πŸ¦€

Minimal Rust CLI tool to display directory structures

pathy example screenshot

Features

  • 🧠 Smart Display: Automatically excludes commonly ignored directories (e.g .git and node_modules) for a cleaner tree visualization.
  • πŸ‘¨β€πŸ¦― Easy Exclusions: Use the -i option to seamlessly omit any specific directories & files from the display.

Install

via Cargo

cargo install pathy

via Source

git clone https://github.com/fearandesire/pathy.git
cd pathy
cargo build --release
cargo install .

Usage

Basic usage: pathy <directory>

Arguments

  • <directory>: Directory to display. Defaults to the current directory.
  • -i, or --ignore: Specify directories or files to ignore`
  • -h, or --help: Display this help message
  • -v, or --version: Display the current version

Default Ignored Directories

You can review the default ignored directories here

Examples

pathy .
# Ignoring a directory
pathy -i docs
# Ignoring multiple directories
pathy -i docs node_modules .
# Ignore a directory and a any file 
pathy -i docs README.md

Notice: Ignoring a directory / a file will explicitly exclude any exact match. E.g, ignoring -i README.md will ignore README.md from the file tree visualization entirely, no matter how far down it is.

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues to improve the functionality or documentation of pathy.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

About

A CLI tool to display the file tree of a directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /