caelum0x 5931e0b6a9 fix(cli): add --format json to the privacy command
greenlight privacy had no --format flag at all, so greenlight privacy
--format json failed with "unknown flag: --format". Every sibling scan
command (preflight, codescan, playscan, ipa, scan, verify) already
supports --format json; privacy was the odd one out, with no way to
consume its findings as machine-readable output.

Add the flag following the existing convention (see verify.go /
playscan.go): suppress the banner for JSON output and encode the
already-json-tagged *privacy.ScanResult directly to stdout.

Fixes RevylAI/greenlight#31.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-20 15:39:57 +03:00
..
2026-06-26 13:40:13 -07:00
2026-06-26 13:40:13 -07:00