31 lines
824 B
Markdown
31 lines
824 B
Markdown
# DBus Prettifier
|
|
|
|
I noticed that when working with `qdbus` that I would get long and unformatted
|
|
outputs that are extremely difficult to read. This small program will prettify a
|
|
file with the output so that it is much more readable.
|
|
|
|
## Usage
|
|
|
|
To run the program, simply run it as follows:
|
|
|
|
```console
|
|
qdbus-prettifier <in-file> [out-file]
|
|
```
|
|
|
|
## Building
|
|
|
|
To compile the program, install the Rust suite, namely the compiler and Cargo.
|
|
Once installed you can run `cargo build --release` to generate a release build
|
|
of the project which will be found at `target/release/dbus-prettifier`.
|
|
|
|
To install you can use the `install` command as follows:
|
|
|
|
```console
|
|
install -Dm755 target/release/dbus-prettifier /usr/local/bin
|
|
```
|
|
|
|
## License
|
|
|
|
This program is licensed under the terms & conditions of the [Zlib
|
|
License](LICENSE).
|