{
  "description": "Clean up and pretty-print an HTML or XML file. Encoding switches and accessibility levels are left out.",
  "options": [
    {
      "names": [
        "-output",
        "-o"
      ],
      "description": "Write result to",
      "args": {
        "name": "output",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    },
    {
      "names": [
        "-modify",
        "-m"
      ],
      "description": "Modify input file in place",
      "isDangerous": true
    },
    {
      "names": [
        "-indent",
        "-i"
      ],
      "description": "Indent element content"
    },
    {
      "names": [
        "-wrap",
        "-w"
      ],
      "description": "Wrap column",
      "args": {
        "name": "wrap",
        "isOptional": false
      }
    },
    {
      "names": [
        "-clean",
        "-c"
      ],
      "description": "Replace FONT/NOBR/CENTER with CSS"
    },
    {
      "names": [
        "-errors",
        "-e"
      ],
      "description": "Only show errors"
    },
    {
      "names": [
        "-quiet",
        "-q"
      ],
      "description": "Suppress nonessential output"
    },
    {
      "names": [
        "-xml"
      ],
      "description": "Input is well-formed XML"
    },
    {
      "names": [
        "-asxhtml"
      ],
      "description": "Convert HTML to XHTML"
    },
    {
      "names": [
        "-config"
      ],
      "description": "Configuration file",
      "args": {
        "name": "config",
        "isOptional": false,
        "template": "filepaths"
      }
    }
  ],
  "args": [
    {
      "name": "input",
      "isOptional": true,
      "template": "filepaths"
    }
  ],
  "name": "tidy"
}
