Skip to content

Latest commit

 

History

History
79 lines (59 loc) · 1.75 KB

File metadata and controls

79 lines (59 loc) · 1.75 KB
pytree

pytree

Clean tree-like output for Python projects.

Rust Crates.io CI Downloads License: MIT

Install

Cargo:

cargo install --locked pytree

Homebrew:

brew tap 0x12th/pytree
brew install pytree

Binary:

curl -LO https://github.com/0x12th/pytree/releases/download/v0.1.0/pytree-v0.1.0-linux-x86_64.tar.gz
tar -xzf pytree-v0.1.0-linux-x86_64.tar.gz
./pytree --version

Usage

pytree [PATH] [OPTIONS]
pytree
pytree --depth 2
pytree --dirs-only
pytree --ignore "*.sqlite3"
pytree --format json

Download platform-specific archives from GitHub Releases.

Options

Option Description
--depth N Maximum tree depth
--all Show hidden and ignored files
--dirs-only Show directories only
--no-gitignore Do not read .gitignore rules
--ascii Use ASCII tree connectors
--ignore PATTERN Add an ignore pattern
--format tree|json Output format

Development

cargo fmt
cargo fmt-check
cargo typecheck
cargo lint
cargo qa
cargo package-check

Release

See docs/release.md.