id = "gitu"
name = "Gitu"
homepage = "https://github.com/altsem/gitu"
description = "Git porcelain interface for the terminal."
executables = ["gitu"]
platforms = ["macos", "linux"]
[dotfiles]
paths = ["~/.config/gitu/config.toml"]
exclude = []
secret = []
[commands]
format = 1
label = "Open Gitu"
description = "Open the Gitu Git interface, optionally with a config file or startup keys. The show, blame and completion subcommands are left out."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "cli"
kind = "help"
url = "https://github.com/altsem/gitu/blob/master/src/cli.rs"
revision = "master 2026-10-27"
evidence = """
-k, --keys <KEYS> Send keys on startup (eg: `gitu -k ll`).
--print Print one frame and exit. Useful for debugging.
--log Enable logging to 'gitu.log'
-c, --config <CONFIG> Config file to use
"""
[[commands.field]]
id = "keys"
label = "Startup keys"
description = "Keys to send on startup, for example ll."
type = "string"
option = ["--keys", "-k"]
sources = ["cli"]
[[commands.field]]
id = "config"
label = "Config file"
type = "path"
option = ["--config", "-c"]
path = { kind = "file", role = "input", must_exist = true }
sources = ["cli"]
[[commands.field]]
id = "print"
label = "Print one frame and exit"
type = "boolean"
option = ["--print"]
sources = ["cli"]
[[commands.field]]
id = "log"
label = "Log to gitu.log"
type = "boolean"
option = ["--log"]
sources = ["cli"]
[[commands.task]]
id = "open"
label = "Open Gitu"
fields = ["config", "keys", "log"]
required = []
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["config", "keys", "print", "log"]