to.shell_command

shell_command executes the shell command.

Examples

Open application

{
    "to": [
        {
            "shell_command": "open -a 'Safari.app'"
        }
    ]
}

Execute shell from file

{
    "to": [
        {
            "shell_command": "/bin/sh ~/opt/shell_commands/hello.sh"
        }
    ]
}