{
  "name": "subl",
  "description": "Sublime Text",
  "options": [
    {
      "names": [
        "--project"
      ],
      "description": "Load the given project",
      "args": [
        {
          "name": "project",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--command"
      ],
      "description": "Run the given command",
      "args": [
        {
          "name": "command"
        }
      ]
    },
    {
      "names": [
        "-n",
        "--new-window"
      ],
      "description": "Open a new window",
      "exclusiveOn": [
        "-a"
      ]
    },
    {
      "names": [
        "-a",
        "--add"
      ],
      "description": "Add folders to the current window",
      "exclusiveOn": [
        "-n"
      ]
    },
    {
      "names": [
        "--launch-or-new-window"
      ],
      "description": "Only open a new window if the application is open"
    },
    {
      "names": [
        "-w",
        "--wait"
      ],
      "description": "Wait for the files to be closed before returning"
    },
    {
      "names": [
        "-b",
        "--background"
      ],
      "description": "Don't activate the application"
    },
    {
      "names": [
        "-s",
        "--stay"
      ],
      "description": "Keep the application activated after closing the file"
    },
    {
      "names": [
        "--safe-mode"
      ],
      "description": "Launch using a clean environment"
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Show a help message and exit"
    },
    {
      "names": [
        "-v",
        "--version"
      ],
      "description": "Show the version and exit"
    }
  ],
  "args": [
    {
      "name": "files|directories",
      "isOptional": true,
      "isVariadic": true,
      "template": "folders"
    }
  ]
}
