{
  "id": "pathchk",
  "name": "pathchk",
  "description": "Check pathnames for POSIX portability.",
  "executables": [
    "pathchk"
  ],
  "commands": {
    "format": 1,
    "label": "Check pathnames",
    "description": "Check whether pathnames are valid and portable. Only the -p and -P checks are offered.",
    "quality": "ai-draft",
    "base": "fig:pathchk",
    "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/pathchk.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "paths",
        "label": "Pathnames",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "portable",
        "label": "Portable character set and length checks",
        "type": "boolean",
        "option": [
          "-p"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "strict",
        "label": "Also reject empty names and leading hyphens",
        "type": "boolean",
        "option": [
          "-P"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "check",
        "label": "Check portability",
        "fields": [
          "portable",
          "paths"
        ],
        "required": [
          "paths"
        ],
        "set": {
          "portable": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "paths",
          "portable",
          "strict"
        ]
      }
    ]
  }
}
