Request: Add Depth Option to `--tree` for Listing Archive Contents
Hello ouch team,
First of all, thank you for developing such a practical and user-friendly tool. ouch has been incredibly useful, especially the list command's --tree option, which displays the contents of archives in a tree structure. This feature is immensely helpful for quickly understanding the structure of an archive.
However, I've noticed that the --tree option seems to lack the ability to limit the display depth, similar to the -L option in the tree command. This capability would be particularly useful when dealing with archives that contain a large number of nested directories.
Feature Request:
I would like to request the addition of an option to the list --tree command to specify the maximum depth of display, such as list --tree 2, which would only show up to the second level of directories and files.
I believe this feature would make ouch even more powerful and flexible. Thank you again for your hard work, and I look forward to seeing ouch continue to evolve!
Best regards,
Thanks for sharing appreciation :heart: it means a lot to me (gives motivation to give this the attention it deserves).
That's a good suggestion, --depth could be there for the list command overall, tree or not.
Some tools do --max-depth and --min-depth, for Ouch I think we might be good with just --depth.
cool, --depth is enough for me