{
  "id": "fmt",
  "name": "fmt",
  "description": "Simple text formatter.",
  "executables": [
    "fmt"
  ],
  "commands": {
    "format": 1,
    "label": "Format text",
    "description": "Reformat paragraphs of text files.",
    "quality": "ai-draft",
    "base": "fig:fmt",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/fmt.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "center",
        "label": "Center text",
        "type": "boolean",
        "option": [
          "-c"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "indented",
        "label": "Allow indented paragraphs",
        "type": "boolean",
        "option": [
          "-p"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "squeeze",
        "label": "Collapse whitespace",
        "type": "boolean",
        "option": [
          "-s"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "tabs",
        "label": "Tab stop width",
        "type": "integer",
        "option": [
          "-t"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "format",
        "label": "Format",
        "fields": [
          "files",
          "indented",
          "squeeze"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "center",
          "indented",
          "squeeze",
          "tabs"
        ]
      }
    ]
  }
}
