retrace-cli 0.0.1

Command-line retrace for R8 and ProGuard mappings, compatible with R8's retrace
# retrace-cli

A `retrace` command that deobfuscates JVM and Android stack traces with an R8
or ProGuard `mapping.txt`. It has the same interface and output as R8's
`retrace`, without a JVM, and is built on the
[rs_retrace](https://crates.io/crates/rs_retrace) library.

```sh
cargo install retrace-cli
retrace mapping.txt stacktrace.txt
retrace --verbose mapping.txt < stacktrace.txt
```

```text
retrace [options] <proguard-map> [stack-trace-file]
```

Without a stack-trace file, the trace is read from standard input. Each
retraced line is printed with `\n`, and diagnostics prefixed with `Warning:`
or `Error:` go to standard error.

- `--verbose`: include original return and parameter types.
- `--quiet`: do not print the waiting message when reading standard input.
- `--info`: accepted for compatibility with R8.
- `-v`, `--version` and `-h`, `--help`.

R8's single-dash spellings, such as `-verbose`, also work. The `--regex`,
`--partition-map`, and `--verify-mapping-file-hash` options are not supported.

Licensed under the [Mozilla Public License 2.0](LICENSE).