NAME
pq - jq for protobuf - parse protobuf generically
SYNOPSIS
pq [
--fdsets=PATH] [
--msgtype=STRING] [
--stream]
[
--force]
[file]
DESCRIPTION
pq parses a compiled protobuf message with .fdset files located in
'~/.pq/'
POSITIONAL ARGS
- (OPTIONAL)file
-
Read message from a file. Default is stdin.
OPTIONS
- --fdsets=PATH
-
Use alternative fdset dir. Default is '~/.pq/'.
- --msgtype=STRING
-
Use this message type to decode protobuf - must be a fully qualified message
name e.g. 'com.example.dog.Dog'. Default behavior is to try to guess the
message type. Guessing and msgtype apply to every message in a
stream.
- --stream
-
Parse varint32-delimited stream.
- --force
- Forcefully decode by chopping bytes off the ends. This will
apply to every message in a stream.