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
[[dotfiles.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 }
[[commands.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]
-a, --all
-b, --brief
-c, --colorize
-l, --list
-p, --path=PATH
-r, --regex
-s, --search=PHRASE
-t, --tag=TAG
"""
[[commands.field]]
id = "sheet"
label = "Cheatsheet"
type = "string"
position = 0
sources = ["man"]
[[commands.field]]
id = "search"
label = "Search phrase"
type = "string"
option = ["--search", "-s"]
sources = ["man"]
[[commands.field]]
id = "regex"
label = "Phrase is a regular expression"
type = "boolean"
option = ["--regex", "-r"]
sources = ["man"]
[[commands.field]]
id = "list"
label = "List cheatsheets"
type = "boolean"
option = ["--list", "-l"]
sources = ["man"]
[[commands.field]]
id = "brief"
label = "Brief listing"
type = "boolean"
option = ["--brief", "-b"]
sources = ["man"]
[[commands.field]]
id = "all"
label = "Search all cheatpaths"
type = "boolean"
option = ["--all", "-a"]
sources = ["man"]
[[commands.field]]
id = "colorize"
label = "Colorize output"
type = "boolean"
option = ["--colorize", "-c"]
sources = ["man"]
[[commands.field]]
id = "path_filter"
label = "Cheatpath"
type = "string"
option = ["--path", "-p"]
sources = ["man"]
[[commands.field]]
id = "tag"
label = "Tag"
type = "string"
option = ["--tag", "-t"]
sources = ["man"]
[[commands.task]]
id = "view"
label = "View a cheatsheet"
fields = ["sheet"]
required = ["sheet"]
[[commands.task]]
id = "search_all"
label = "Search all sheets"
fields = ["search", "regex", "colorize", "all"]
required = ["search"]
set = { colorize = [true] }
[[commands.task]]
id = "list_sheets"
label = "List sheets"
fields = ["list", "brief", "tag", "path_filter"]
required = ["list"]
set = { list = [true] }
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["sheet", "search", "regex", "list", "brief"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["all", "colorize", "path_filter", "tag"]