Added "clipboardWrite" to the permissions. Without this setting I wasn't able to have the command line copied into the clipboard by clicking "cmd"