You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I need to parse the lookout-tool logs to get Analyzer comments and rely on internal implementation logic (https://github.com/src-d/lookout/blob/master/server/server.go#L559).
For example something like go run cmd/lookout-sdk/*.go review --log-format=json 2>&1 | jq 'select(.msg == "file comment")' can work.
I think that comments can be interpreted as lookout-tool review output and passed to stdout.
It can be in the same log format (JSON/not JSON).
So in ideal case, I just want to run go run cmd/lookout-sdk/*.go review --log-format=json > comments.json and get comment per line in JSON format.