{
  "name": "xed",
  "description": "Xcode text editor invocation tool",
  "options": [
    {
      "names": [
        "--launch",
        "-x"
      ],
      "description": "Launches Xcode, opening a new empty unsaved file"
    },
    {
      "names": [
        "--create",
        "-c"
      ],
      "description": "Creates any non-existent files in the file list. If used without --launch, standard input will be read and piped to the last file created"
    },
    {
      "names": [
        "--wait",
        "-w"
      ],
      "description": "Wait for the files to be closed before exiting. xed will idle and will only terminate when all files are closed"
    },
    {
      "names": [
        "--line",
        "-l"
      ],
      "description": "Selects the given line in the last file opened",
      "takes_arg": true,
      "arg": {
        "name": "number",
        "description": "The line number to select"
      }
    },
    {
      "names": [
        "--background",
        "-b"
      ],
      "description": "Opens Xcode without activating it; the process that invoked xed remains in front"
    },
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Show help for xed"
    },
    {
      "names": [
        "--version",
        "-v"
      ],
      "description": "Prints the version number of xed"
    }
  ],
  "args": [
    {
      "name": "file",
      "description": "A list of file paths. If no files are passed, then standard input will       be read and piped into a new untitled document",
      "is_variadic": true,
      "template": "filepaths"
    }
  ]
}
