Quit is an executable bash script to make it quick and easy to politely quit applications from the command line.
This script takes one or more application names as arguments, and uses osascript to tell each one to quit. Unlike kill and killall, this allows applications to save files and perform any necessary operations before exiting.