notarytool returned error codes & submission ID

In the old days, man pages listed the return codes of an app. That is not the case with notarytool.

  1. Is there a place where the possible return codes are listed?
  2. Apart from parsing notarytool's output, is there a way to get the submission-id returned.

I am working on updating our automation scripts and would like them to be robust but also legible. Alttool output parsing was a bit of a mess in the previous version. I want this to be easy for whoever maintains this in a year or two.

I had exactly the same questions. Did you ever figure anything out?

notarytool returned error codes & submission ID
 
 
Q