Made a simple command-line Swift script:

> dict quasar
quasar qua·sar | ˈkwāˌzär | noun []

> dict -o quasar
Opening Dictionary.app…