{
  "description": "Reformat JavaScript, CSS or HTML with js-beautify. Only the common indentation and wrapping options are offered; run css-beautify or html-beautify for the other languages.",
  "options": [
    {
      "names": [
        "--file",
        "-f"
      ],
      "description": "Reads standard input when empty and no file is given.",
      "args": {
        "name": "file",
        "description": "Reads standard input when empty and no file is given.",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--outfile",
        "-o"
      ],
      "description": "Defaults to standard output.",
      "args": {
        "name": "outfile",
        "description": "Defaults to standard output.",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--replace",
        "-r"
      ],
      "description": "Replace input file in place",
      "isDangerous": true
    },
    {
      "names": [
        "--type"
      ],
      "description": "Beautifier type",
      "args": {
        "name": "type",
        "isOptional": false,
        "suggestions": [
          {
            "name": "js",
            "description": "JavaScript"
          },
          {
            "name": "css",
            "description": "CSS"
          },
          {
            "name": "html",
            "description": "HTML"
          }
        ]
      }
    },
    {
      "names": [
        "--indent-size",
        "-s"
      ],
      "description": "Indent size",
      "args": {
        "name": "indent_size",
        "isOptional": false
      }
    },
    {
      "names": [
        "--indent-with-tabs",
        "-t"
      ],
      "description": "Indent with tabs"
    },
    {
      "names": [
        "--end-with-newline",
        "-n"
      ],
      "description": "End output with newline"
    },
    {
      "names": [
        "--wrap-line-length",
        "-w"
      ],
      "description": "0 disables wrapping.",
      "args": {
        "name": "wrap_line_length",
        "description": "0 disables wrapping.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--config"
      ],
      "description": "Config file",
      "args": {
        "name": "config",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--quiet",
        "-q"
      ],
      "description": "Quiet"
    }
  ],
  "name": "js-beautify",
  "aliases": [
    "css-beautify",
    "html-beautify"
  ]
}
