{
  "id": "cheat",
  "name": "cheat",
  "homepage": "https://github.com/cheat/cheat",
  "description": "cheat allows you to create and view interactive cheatsheets on the command-line.",
  "executables": [
    "cheat"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/cheat/conf.yml",
      "~/.cheat/conf.yml",
      "%APPDATA%/cheat/conf.yml"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false,
    "machine_lines": [
      {
        "file": [
          "[configHome]/cheat/conf.yml",
          "~/.cheat/conf.yml",
          "%APPDATA%/cheat/conf.yml"
        ],
        "match": {
          "key_path": [
            "cheatpaths.*.path"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "View or search cheatsheets",
    "description": "View a cheatsheet, list sheets or search their contents. Editing, removing, updating and config/completion modes are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://github.com/cheat/cheat/blob/master/doc/cheat.1.md",
        "revision": "2026-10-27",
        "evidence": "cheat [options] [CHEATSHEET]\n-a, --all\n-b, --brief\n-c, --colorize\n-l, --list\n-p, --path=PATH\n-r, --regex\n-s, --search=PHRASE\n-t, --tag=TAG\n"
      }
    ],
    "field": [
      {
        "id": "sheet",
        "label": "Cheatsheet",
        "type": "string",
        "position": 0,
        "sources": [
          "man"
        ]
      },
      {
        "id": "search",
        "label": "Search phrase",
        "type": "string",
        "option": [
          "--search",
          "-s"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "regex",
        "label": "Phrase is a regular expression",
        "type": "boolean",
        "option": [
          "--regex",
          "-r"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "list",
        "label": "List cheatsheets",
        "type": "boolean",
        "option": [
          "--list",
          "-l"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "brief",
        "label": "Brief listing",
        "type": "boolean",
        "option": [
          "--brief",
          "-b"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "all",
        "label": "Search all cheatpaths",
        "type": "boolean",
        "option": [
          "--all",
          "-a"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "colorize",
        "label": "Colorize output",
        "type": "boolean",
        "option": [
          "--colorize",
          "-c"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "path_filter",
        "label": "Cheatpath",
        "type": "string",
        "option": [
          "--path",
          "-p"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "tag",
        "label": "Tag",
        "type": "string",
        "option": [
          "--tag",
          "-t"
        ],
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "view",
        "label": "View a cheatsheet",
        "fields": [
          "sheet"
        ],
        "required": [
          "sheet"
        ]
      },
      {
        "id": "search_all",
        "label": "Search all sheets",
        "fields": [
          "search",
          "regex",
          "colorize",
          "all"
        ],
        "required": [
          "search"
        ],
        "set": {
          "colorize": [
            true
          ]
        }
      },
      {
        "id": "list_sheets",
        "label": "List sheets",
        "fields": [
          "list",
          "brief",
          "tag",
          "path_filter"
        ],
        "required": [
          "list"
        ],
        "set": {
          "list": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "sheet",
          "search",
          "regex",
          "list",
          "brief"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "all",
          "colorize",
          "path_filter",
          "tag"
        ]
      }
    ]
  }
}
