bit7z
bit7z copied to clipboard
[Feature Request]: Creation or extraction archive file in one line
Feature description
Hi Can you provide a static function that takes the same arguments as the 7z CLI App? (Similar to the main function in 7z) This function can be very useful (creation or extraction archive file in one line).
CLI:
7z.exe x archive.7z
7z.exe a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=64m -ms=on -mhe=on -p"Hello world!" archive.7z your_dir
Static function (for example):
int ret = bit7z::cli7z("7z.dll", "x archive.7z");
int ret = bit7z::cli7z("7z.dll", "a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=64m -ms=on -mhe=on -p\"Hello world!\" archive.7z your_dir");
Additional context
No response
Code of Conduct
- [X] By submitting this issue, I agree to follow bit7z's Code of Conduct