{
  "description": "Load a data file into Grace and either open the GUI (xmgrace) or print straight to a file without a session (gracebat, or xmgrace with Hardcopy). Only common plotting options are offered.",
  "options": [
    {
      "names": [
        "-nxy"
      ],
      "description": "Data file (X Y1 Y2 ... columns)",
      "args": {
        "name": "nxy",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "-param"
      ],
      "description": "Parameter file",
      "args": {
        "name": "param",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "-graphtype"
      ],
      "description": "Graph type",
      "args": {
        "name": "graphtype",
        "isOptional": false,
        "suggestions": [
          {
            "name": "xy",
            "description": "XY"
          },
          {
            "name": "chart",
            "description": "Chart"
          },
          {
            "name": "fixed",
            "description": "Fixed"
          },
          {
            "name": "polar",
            "description": "Polar"
          },
          {
            "name": "pie",
            "description": "Pie"
          }
        ]
      }
    },
    {
      "names": [
        "-log"
      ],
      "description": "Logarithmic axes",
      "args": {
        "name": "log",
        "isOptional": false,
        "suggestions": [
          {
            "name": "x",
            "description": "X"
          },
          {
            "name": "y",
            "description": "Y"
          },
          {
            "name": "xy",
            "description": "X and Y"
          }
        ]
      }
    },
    {
      "names": [
        "-hardcopy"
      ],
      "description": "Print and quit (no GUI)"
    },
    {
      "names": [
        "-hdevice"
      ],
      "description": "Device name such as PNG, EPS or PostScript; run xmgrace -version for the list.",
      "args": {
        "name": "hdevice",
        "description": "Device name such as PNG, EPS or PostScript; run xmgrace -version for the list.",
        "isOptional": false
      }
    },
    {
      "names": [
        "-printfile"
      ],
      "description": "Save print output to",
      "args": {
        "name": "printfile",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    },
    {
      "names": [
        "-noask"
      ],
      "description": "Overwrite without asking",
      "isDangerous": true
    }
  ],
  "name": "xmgrace",
  "aliases": [
    "gracebat",
    "grconvert"
  ]
}
