It would be great to have support for [DTerm]:
“DTerm provides a context-sensitive command line that makes it fast and easy to run commands on the files you’re working with and then use the results of those commands.”
Currently, invoking DTerm in Atom just defaults to the home directory and doesn’t grab the current document.
Judging from the [source code], DTerm uses the Accesibility API to grab the URL of the front-most window
AXUIElementCreateSystemWide() -> kAXFocusedApplicationAttribute -> kAXMainWindowAttribute -> kAXDocumentAttribute