Here is code to notarize via command line:
https://blog.zeplin.io/dev-journal-a...s-94b0b144ba9d
The process seems not too bad, however, the main problem is the indeterminate amount of time one needs to wait for notarization to complete. This is going to make automated building unneccessarily slow.