Forrest logo
tool overview
On this page you find all important commands for the CLI tool sdef. If the command you are looking for is missing please ask our AI.


"Sdef" is a command line tool that stands for "System Definition." It is primarily used on macOS systems as part of the AppleScript development process. This tool generates XML files that contain a detailed description of scripting interfaces for applications or frameworks. It allows developers to extract information about interfaces, classes, properties, events, commands, and scripting terminology from an application or framework. Sdef aids in the automatic generation of AppleScript dictionaries for applications and enables better integration between different software components. It is often used in combination with the "sdp" command line tool, which takes an Sdef XML file as input and generates an AppleScript dictionary. Overall, sdef plays a crucial role in facilitating AppleScript automation by providing a detailed description of scripting interfaces.

List of commands for sdef:

  • sdef:tldr:0b840 sdef: Print the scripting definitions of the given application.
    $ sdef ${-Applications-XCode-app}
    try on your machine
    explain this command
tool overview