commensalism1997/dtar — reverse-engineered prompt
Reverse engineered prompt
Build me a small Rust command line tool called dtar for extracting tar archives, with a clean progress bar so I can actually see how far along it is. I want it to feel like a nicer version of regular tar extraction, especially for compressed tar files where the total file count is not obvious at the start.
Please support a few extraction modes so I can trade off speed, memory use, and disk use. The default should try to count entries and extract at the same time for better speed, but I also want options for keeping the uncompressed data in memory, writing it to storage, keeping that storage copy if I ask, or doing everything in a slower sync style with less extra load. There should also be a no progress option that just extracts normally.
Make the CLI pleasant to use, with help text and sensible flags, and make sure it can be installed with cargo. If you need details on tar handling or terminal progress display, look up current docs online.
Want more depth? Deep Reverse