List files and directories
This is my first ever thing in Rust and it is not optimized or tested or whatever beyond running the script with cargo run
.
The Goal is to have a tool similar to ls
and tree
- basically a mix of both.
Why not? I haven't tried Rust yet so I thought this was a good idea.
- The indention logic is still wrong
- default to "ls" mode (output similar to
ls -l
) - Add depth limit
- Add limit from environment variable
- Implement colors (optional, CLI flag)