id = "yazi"
name = "Yazi"
homepage = "https://yazi-rs.github.io"
description = "A terminal file manager written in Rust, based on non-blocking async I/O."
icon = "https://raw.githubusercontent.com/sxyazi/yazi/main/assets/logo.png"
executables = ["yazi", "ya"]
[dotfiles]
paths = [
"[configHome]/yazi/",
"%APPDATA%/yazi/config/",
]
exclude = [
"[configHome]/yazi/plugins/",
"[configHome]/yazi/flavors/",
"%APPDATA%/yazi/config/plugins/",
"%APPDATA%/yazi/config/flavors/",
"~/.local/state/yazi/",
"%APPDATA%/yazi/state/",
"[xdgCache]/yazi/",
"%LOCALAPPDATA%/yazi/",
]
secret = []
[commands]
format = 1
label = "Open Yazi"
description = "Start the Yazi file manager in a directory. Event reporting and client-id options are left out."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "help"
kind = "help"
revision = "yazi --help (local)"
evidence = """
Usage: yazi [OPTIONS] [ENTRIES]...
[ENTRIES]... Set the current working entry
--cwd-file <CWD_FILE> Write the cwd on exit to this file
--chooser-file <CHOOSER_FILE> Write the selected files to this file on open fired
--clear-cache Clear the cache directory
--debug Print debug information
"""
[[commands.field]]
id = "entry"
label = "Start location"
type = "path"
path = { kind = "any", role = "input" }
position = 0
multiple = true
sources = ["help"]
[[commands.field]]
id = "cwd_file"
label = "Write cwd on exit to"
type = "path"
path = { kind = "file", role = "output" }
option = ["--cwd-file"]
effect = "overwrite"
sources = ["help"]
[[commands.field]]
id = "chooser_file"
label = "Write chosen files to"
type = "path"
path = { kind = "file", role = "output" }
option = ["--chooser-file"]
effect = "overwrite"
sources = ["help"]
[[commands.field]]
id = "clear_cache"
label = "Clear cache directory"
type = "boolean"
option = ["--clear-cache"]
effect = "delete"
sources = ["help"]
[[commands.field]]
id = "debug"
label = "Print debug information"
type = "boolean"
option = ["--debug"]
sources = ["help"]
[[commands.task]]
id = "open"
label = "Open in a directory"
fields = ["entry"]
[[commands.task]]
id = "chooser"
label = "Pick files to a list"
fields = ["chooser_file", "entry"]
required = ["chooser_file"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["entry", "cwd_file", "chooser_file"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["clear_cache", "debug"]