macOS / binaries /

osascript

/usr/bin/osascript
Execute OSA scripts (AppleScript, JavaScript, etc)

osascript executes the given OSA script, which may be plain text or a compiled script (.scpt) created by Script Editor or osacompile.

source: man