{
  "description": "Format or check Lua/Luau files and directories with StyLua. Range formatting, stdin, glob filters and per-style overrides other than indentation and column width are left out.",
  "options": [
    {
      "names": [
        "--check"
      ],
      "description": "Do not rewrite files; print a diff and exit with status 1 if any file needs formatting."
    },
    {
      "names": [
        "--output-format"
      ],
      "description": "Check output format",
      "args": {
        "name": "output_format",
        "isOptional": false,
        "suggestions": [
          {
            "name": "standard",
            "description": "Standard diff"
          },
          {
            "name": "unified",
            "description": "Unified diff"
          },
          {
            "name": "json",
            "description": "JSON"
          },
          {
            "name": "summary",
            "description": "Summary of files"
          }
        ]
      }
    },
    {
      "names": [
        "--verify"
      ],
      "description": "Verify the formatted output before saving each file."
    },
    {
      "names": [
        "--config-path"
      ],
      "description": "Config file",
      "args": {
        "name": "config_path",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--search-parent-directories"
      ],
      "description": "Search parent directories for config"
    },
    {
      "names": [
        "--indent-type"
      ],
      "description": "Indent type",
      "args": {
        "name": "indent_type",
        "isOptional": false,
        "suggestions": [
          {
            "name": "Tabs",
            "description": "Tabs"
          },
          {
            "name": "Spaces",
            "description": "Spaces"
          }
        ]
      }
    }
  ],
  "args": [
    {
      "name": "files",
      "isOptional": true,
      "isVariadic": true,
      "template": "filepaths"
    }
  ],
  "name": "stylua"
}
