How to respond to builtin main menu items like "Select All" in SwiftUI?

I know how to add items to the main menu. But what if I want to connect a handler to one that is already there by default? (For example "Select All").

Code Block
WindowGroup {
ContentView()
}.commands {
    CommandGroup(after: CommandGroupPlacement.pasteboard) {
  Button("Select All") { selectAll() }
}

That adds a second "Select All" menu item.

If I use CommandGroup(replacing: ...) then it replaces others, not just the "Select All"
How to respond to builtin main menu items like "Select All" in SwiftUI?
 
 
Q