license-scanner icon indicating copy to clipboard operation
license-scanner copied to clipboard

Programmable interface - machine-readable output

Open jkowalleck opened this issue 3 years ago • 0 comments

I would like to call the tool from another process and parse the output. Here are my requirements:

  • only machine-readable output on STDOUT
  • no unexpected output on STDOUT (logs and debut and others are sent to STDERR)
  • on success: zero(0) exit code
  • on failure: non-zero (>1) exit code

machine readable could be XML, JSON, ProtoBuff, predefined string patterns, whatsoever.

jkowalleck avatar Feb 28 '23 18:02 jkowalleck