2 releases
Uses new Rust 2024
| 0.1.34 | Aug 20, 2025 |
|---|---|
| 0.1.32 | Aug 13, 2025 |
#46 in #cat
52 downloads per month
Used in younix
5KB
58 lines
Younix ls Command
The ls command in Younix lists directory contents, similar to the Unix ls utility. It supports various options to customize the output format and content.
Usage
younix ls [OPTIONS]
Options
| Option | Description |
|---|---|
-p, --path <PATH> |
Directory path to list files (default: .) |
-a, --all |
Show all files, including hidden ones |
-l, --long |
Use long listing format |
-h, --help |
Print help information |
Examples
-
List files in the current directory:
younix ls -
List all files, including hidden ones:
younix ls -a -
List files in long format from a specific directory:
younix ls -p /path/to/dir -l
Dependencies
~1.7–6MB
~137K SLoC