{
  "id": "proselint",
  "name": "proselint",
  "homepage": "https://github.com/amperser/proselint",
  "description": "A linter for prose.",
  "icon": "https://raw.githubusercontent.com/amperser/proselint/main/site/images/android-icon-192x192.png",
  "executables": [
    "proselint"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/proselint/config.json"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Check prose",
    "description": "Lint one or more text files with proselint and print suggestions. Only the check command and config/output options are covered.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "readme",
        "kind": "help",
        "url": "https://github.com/amperser/proselint",
        "revision": "2026-10-27",
        "evidence": "proselint check text.md\nThe command-line utility can also print suggestions in JSON using the `--output-format json` option.\n1. The file given by the `--config` flag, if specified\n"
      }
    ],
    "field": [
      {
        "id": "check",
        "label": "Check command",
        "fixed": [
          "check"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "position": 0,
        "multiple": true,
        "min": 1,
        "sources": [
          "readme"
        ]
      },
      {
        "id": "output_format",
        "label": "Output format",
        "type": "enum",
        "option": [
          "--output-format"
        ],
        "choices": [
          {
            "value": "json",
            "label": "JSON"
          }
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "option": [
          "--config"
        ],
        "sources": [
          "readme"
        ]
      }
    ],
    "task": [
      {
        "id": "check_files",
        "label": "Check files",
        "fields": [
          "files",
          "config"
        ],
        "required": [
          "files"
        ]
      },
      {
        "id": "check_json",
        "label": "Check, JSON output",
        "fields": [
          "files",
          "output_format"
        ],
        "required": [
          "files",
          "output_format"
        ],
        "set": {
          "output_format": [
            "json"
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "check",
          "files",
          "output_format",
          "config"
        ]
      }
    ]
  }
}
