MacOS 10.15 expects both graphical interfaces and command line tools to be notarized. With graphical tools one puts a 'Info.plist' into the application bundle, with command line tools you must add it as a section to the executable. In both cases, the tool is signed and saved as a disk image. This disk image is sent to Apple for validation.
Ryan Joseph and I worked on a script to notarize a minimal 'Hello World'.
[https://github.com/neurolabusc/NotarizeFPC][/https://github.com/neurolabusc/NotarizeFPC]