14 lines
439 B
Markdown
14 lines
439 B
Markdown
# Syndicate utils
|
|
|
|
## json_translator
|
|
|
|
Wrapper that executes a command, parses its JSON output, and asserts a Preserves conversion in an `<output …>` record.
|
|
|
|
## json_socket_translator
|
|
|
|
Utility to communicate with sockets that send and receive lines of JSON. Compatible with [mpv](https://mpv.io/), see [mpv.config-example.pr](./mpv.config-example.pr).
|
|
|
|
## msg
|
|
|
|
A utility that sends a message to $SYNDICATE_SOCK in the form `<ARGV…>`.
|