title: How do I hide default CommandMenu in SwiftUI on macOS?
body: <p>I'm (attempting) switching over my AppDelegate macOS app to the SwiftUI lifecycle - but can't seem to find out how to handle the CommandMenu. I just want to delete these default menu items (Fie, Edit, View, etc...). In the past, I would just delete them from the Storyboard - but I'm not using a storyboard here. Is there a way to delete these items in SwiftUI?</p>
  <p>The items I want to delete:</p>
  <p><a href="https://i.stack.imgur.com/8hsMQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8hsMQ.png" alt="The items I want to delete" /></a></p>
  <p>I know how to add new items via:</p>
  <pre><code>.commands {
    MyAppMenus()
  }  
  </code></pre>
  <p>But that just adds them inline with the existing menu items.</p>