3 unstable releases
0.2.0 | Oct 2, 2022 |
---|---|
0.1.1 | Oct 1, 2022 |
0.1.0 | Oct 1, 2022 |
#4 in #aptos
5KB
75 lines
aptos pprint
With debug::print(&b"aptos debug made easy")
in code.
Before 🤯
$ aptos move test
...
[debug] (&) [97, 112, 116, 111, 115, 32, 100, 101, 98, 117, 103, 32, 109, 97, 100, 101, 32, 101, 97, 115, 121]
[debug] (&) { [97, 112, 116, 111, 115, 32, 100, 101, 98, 117, 103, 32, 109, 97, 100, 101, 32, 101, 97, 115, 121] }
After 😇
$ aptos move test | aptos-pprint
...
[debug] (&) aptos debug made easy
[debug] (&) { aptos debug made easy }
Install
cargo install aptos-pprint
Dependencies
~2–3MB
~54K SLoC