ouch
ouch copied to clipboard
Painless compression and decompression in the terminal
### Version b50987840ea7fd66f55206a6116fd7169eac8aed ### Description When this command is ran: ```sh $ ouch --accessible c /var/cache/pacman/pkg/qt5-base-5.15.2+kde+r262-1-x86_64.pkg.tar.zst output.xz ``` ### Current Behavior Detects partial compression and panics: ``` Partial compression detected....
Stuff like: ```rust #[clap(value_hint = ValueHint::FilePath)] ``` Should be added to all Opts fields that support it. https://github.com/ouch-org/ouch/blob/b50987840ea7fd66f55206a6116fd7169eac8aed/src/opts.rs#L47-L49 Maybe this was forgotten, or there is some problem with hints to...
We should generate completions at least for `zsh` and `bash`. Status update: - [x] #105. - [ ] Add completions to releases. - [ ] Install correctly via the installation...
https://www.brotli.org/ extension: `.br` crate: https://lib.rs/crates/brotli
https://en.wikipedia.org/wiki/Ar_(Unix) extensions: `.a`, `.ar` (?), `.deb` crate: https://lib.rs/crates/ar
https://crates.io/crates/rar
Windows terminal can parse ansi sequence correctly with no setup required I think we can detect it here https://github.com/ouch-org/ouch/blob/master/src/utils/fs.rs#L85 using https://stackoverflow.com/questions/59733731/how-to-detect-if-running-in-the-new-windows-terminal#59734130
We currently have a lot of "todo"s left in the code that needs to be solved.
Firefox uses lz4 compression with an offset (header) for their jsonlz4 files. As that something that could be added to ouch? Or would a dedicated tool or a fork be...
While working on #94 we wound up wanting to build better errors for some cases, one of them is [this FinalError](https://github.com/ouch-org/ouch/blob/master/src/archive/tar.rs#L68): ```rust builder.append_file(path, file.file_mut()).map_err(|err| { FinalError::with_title("Could not create archive") .detail("Unexpected...