PQ(1) General Commands Manual PQ(1)

NAME

pq - jq for protobuf - parse protobuf generically

SYNOPSIS

pq [ --outfile=PATH] [ --fdsets=PATH] [ --msgtype=STRING] [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

--outfile=PATH
 
Write JSON output to a file. Default is stdout
--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.