{
  "id": "wc",
  "name": "wc",
  "description": "Print newline, word, character and byte counts for files.",
  "executables": [
    "wc"
  ],
  "commands": {
    "format": 1,
    "label": "Count lines, words and bytes",
    "description": "Counts for files or standard input.",
    "quality": "ai-draft",
    "base": "fig:wc",
    "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/wc.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "lines",
        "label": "Lines",
        "type": "boolean",
        "option": [
          "-l"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "words",
        "label": "Words",
        "type": "boolean",
        "option": [
          "-w"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "chars",
        "label": "Characters",
        "type": "boolean",
        "option": [
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "bytes",
        "label": "Bytes",
        "type": "boolean",
        "option": [
          "-c"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "count",
        "label": "Count",
        "fields": [
          "files",
          "lines",
          "words",
          "chars",
          "bytes"
        ],
        "required": [
          "files"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "lines",
          "words",
          "chars",
          "bytes"
        ]
      }
    ]
  }
}
