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 }
[[commands.source]]
id = "readme"
kind = "help"
url = "https://github.com/amperser/proselint"
revision = "2026-10-27"
evidence = """
proselint check text.md
The command-line utility can also print suggestions in JSON using the `--output-format json` option.
1. The file given by the `--config` flag, if specified
"""
[[commands.field]]
id = "check"
label = "Check command"
fixed = ["check"]
sources = ["readme"]
[[commands.field]]
id = "files"
label = "Files"
type = "path"
path = { kind = "file", role = "input" }
position = 0
multiple = true
min = 1
sources = ["readme"]
[[commands.field]]
id = "output_format"
label = "Output format"
type = "enum"
option = ["--output-format"]
choices = [{ value = "json", label = "JSON" }]
sources = ["readme"]
[[commands.field]]
id = "config"
label = "Config file"
type = "path"
path = { kind = "file", role = "input" }
option = ["--config"]
sources = ["readme"]
[[commands.task]]
id = "check_files"
label = "Check files"
fields = ["files", "config"]
required = ["files"]
[[commands.task]]
id = "check_json"
label = "Check, JSON output"
fields = ["files", "output_format"]
required = ["files", "output_format"]
set = { output_format = ["json"] }
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["check", "files", "output_format", "config"]