{
  "name": "fmt",
  "description": "Simple text formatter",
  "options": [
    {
      "names": [
        "-c"
      ],
      "description": "Center the text, line by line.  In this case, most of the other\noptions are ignored; no splitting or joining of lines is done"
    },
    {
      "names": [
        "-m"
      ],
      "description": "Try to format mail header lines contained in the input\nsensibly"
    },
    {
      "names": [
        "-n"
      ],
      "description": "Format lines beginning with a ‘.’ (dot) character"
    },
    {
      "names": [
        "-p"
      ],
      "description": "Allow indented paragraphs.  Without the -p flag, any change in\nthe amount of whitespace at the start of a line results in a\nnew paragraph being begun"
    },
    {
      "names": [
        "-s"
      ],
      "description": "Collapse whitespace inside lines, so that multiple whitespace\ncharacters are turned into a single space.  (Or, at the end of\na sentence, a double space.)"
    },
    {
      "names": [
        "-d"
      ],
      "description": "Treat the chars (and no others) as sentence-ending characters.\nBy default the sentence-ending characters are full stop (‘.’),\nquestion mark (‘?’) and exclamation mark (‘!’).  Remember that\nsome charac",
      "takes_arg": true,
      "arg": {
        "name": "chars",
        "suggestions": [
          ".",
          "?",
          "!"
        ]
      }
    },
    {
      "names": [
        "-l"
      ],
      "description": "Replace multiple spaces with tabs at the start of each output\nline, if possible.  Each number spaces will be replaced with\none tab.  The default is 8.  If number is 0, spaces are\npreserved",
      "takes_arg": true,
      "arg": {
        "name": "number",
        "suggestions": [
          "8"
        ]
      }
    },
    {
      "names": [
        "-t"
      ],
      "description": "Assume that the input files' tabs assume number spaces per tab\nstop.  The default is 8",
      "takes_arg": true,
      "arg": {
        "name": "number",
        "suggestions": [
          "8"
        ]
      }
    }
  ],
  "args": [
    {
      "name": "file",
      "description": "File(s) to format",
      "is_variadic": true,
      "template": "filepaths"
    }
  ]
}
