Get the latest tech news

Show HN: Lstr – A modern, interactive tree command written in Rust


A fast, minimalist directory tree viewer, written in Rust. - bgreenwell/lstr

OptionDescription-a,--all List all files and directories, including hidden ones.--color <WHEN> Specify when to use color output ( always, auto, never).-d,--dirs-only List directories only, ignoring all files.-g,--gitignore Respect.gitignore and other standard ignore files.-G,--git-status Show git status for files and directories.--icons Display file-specific icons; requires a Nerd Font.-L,--level <LEVEL> Maximum depth to descend.-p,--permissions Display file permissions (Unix-like systems only).-s,--size Display the size of files.--expand-level <LEVEL> Interactive mode only: Initial depth to expand the interactive tree.Launch the TUI with lstr interactive [OPTIONS] [PATH]. This parallelism is managed by the excellent rayon thread pool, which is used internally by lstr's directory traversal engine. For advanced use cases, such as benchmarking or limiting CPU usage, you can control the number of threads by setting the RAYON_NUM_THREADS environment variable before running the command.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of Lstr

Lstr

Related news:

News photo

Bzip2 crate switches from C to 100% Rust

News photo

Datalog in Rust

News photo

Show HN: Tritium – The Legal IDE in Rust