macOS / binaries /

sdef

/usr/bin/sdef
Scripting definition extractor

sdef gets the scripting definition (``sdef'') from the specified scriptable application and writes it to standard output.

source: man