Enhanced directory listing utility for Unix systems.
Requires less for paged output. Falls back to stdout if unavailable.
els [OPTIONS] [PATH]Options:
-f, --full- Full output mode (includes ACLs, owner, file type, preview)-g, --filter <pattern>- Filter results by substring (case-insensitive)-h, --help- Show help
Examples:
els # List current directory
els /home/user # List specific directory
els -f . # Full output mode
els -g test # Filter files containing "test"cargo build --releaseBinary is output to target/release/els.
Run the test suite:
cargo testRun tests with output visible:
cargo test -- --nocaptureRun tests for a specific module:
cargo test utils::tests
cargo test colors::testsBuild Linux release binaries via cross:
x86_64-unknown-linux-musl(Linux x86_64)aarch64-unknown-linux-musl(Linux ARM64)
cargo install cross --git https://github.com/cross-rs/cross
rustup target add x86_64-unknown-linux-musl aarch64-unknown-linux-muslDocker must be installed and running.
make releaseBinaries are output to dist/.
macOS binaries must be built natively on a Mac:
cargo build --release --target aarch64-apple-darwin
cargo build --release --target x86_64-apple-darwinLicensed under either of:
- MIT license (LICENSE-MIT)
- Apache License, Version 2.0 (LICENSE-APACHE)
at your option.