Run A Multiline AppleScript On The Command Line
AppleScipts are generally at least three lines. For example:
tell application "Sublime Text" activate end tell
osascript -e 'tell application "Sublime Text"' -e 'activate' -e 'end tell'