id = "tig"
name = "Tig"
homepage = "https://jonas.github.io/tig/"
description = "An ncurses-based text-mode interface for git, functioning mainly as a repository browser but also able to stage changes and act as a pager."
executables = ["tig"]
[dotfiles]
paths = [
"~/.tigrc",
"[configHome]/tig/config",
]
exclude = []
secret = []
side_effect = false
[commands]
format = 1
label = "Open Tig"
description = "Open the text-mode Git browser in a chosen view, optionally in another repository. Revision ranges and paths are left out."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "man"
kind = "manual"
url = "https://github.com/jonas/tig/blob/master/doc/tig.1.adoc"
revision = "master 2026-10"
evidence = """
tig [options] [revisions] [--] [paths]
tig log [options] [revisions] [--] [paths]
tig show [options] [revisions] [--] [paths]
tig reflog [options] [revisions]
tig blame [options] [rev] [--] path
tig grep [options] [pattern]
tig refs [options]
tig stash [options]
tig status
-C <path>::
"""
[[commands.field]]
id = "view"
label = "View"
description = "Leave empty for the default main view."
type = "enum"
position = 0
choices = [{ value = "log", label = "Log" }, { value = "show", label = "Show" }, { value = "reflog", label = "Reflog" }, { value = "blame", label = "Blame" }, { value = "grep", label = "Grep" }, { value = "refs", label = "Refs" }, { value = "stash", label = "Stash" }, { value = "status", label = "Status" }]
sources = ["man"]
[[commands.field]]
id = "dir"
label = "Run in directory"
type = "path"
path = { kind = "directory", role = "input" }
option = ["-C"]
sources = ["man"]
[[commands.task]]
id = "status"
label = "Open status view"
fields = ["view", "dir"]
required = ["view"]
set = { view = ["status"] }
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["view", "dir"]