With Xcode 13 and later, notarization via command-line has come down to these 2 basically:
Submitting your app to the Apple App Store is somewhat “straightforward”, however, if you want to export your app to list it on a 3rd party app store or sell it directly to your customers then you have to notarize your app.