SwiftUI macOS app without initial window

Is there a way for Swift UI based, macOS app not to show a window at startup?

For example, the app would offer several commands on the menu bar and it should depend on selected command which window should be shown.