{
  "id": "trizen",
  "name": "trizen",
  "homepage": "https://github.com/trizen/trizen",
  "description": "Lightweight AUR package manager: a pacman wrapper and AUR helper with an interactive search and build interface.",
  "executables": [
    "trizen"
  ],
  "platforms": [
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/trizen/trizen.conf"
    ],
    "exclude": [],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Install or search AUR packages",
    "description": "Sync operation (-S) of trizen: install, search, info and upgrade. Clone (-G) and other operations are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": true
    },
    "source": [
      {
        "id": "help",
        "kind": "help",
        "url": "https://raw.githubusercontent.com/trizen/trizen/HEAD/trizen",
        "revision": "HEAD 2026-10-27",
        "evidence": "usage: trizen {-S --sync} [options] [package(s)]\n-s, --search        : search for packages\n-i, --info          : show info for packages\n-u, --sysupgrade    : upgrade installed packages\n-y, --refresh       : refresh package databases (with: -u)\n-a, --aur           : only AUR operations (with: -c, -u, -s, -i)\n--devel         : update VCS packages during -Su\n--noedit        : do not prompt to edit files\n--noinstall     : do not install packages after building\n--needed        : do not reinstall up-to-date packages\n--noconfirm     : do not ask for any confirmation\ntrizen -S  <package>     # install <package>\ntrizen -Ss <keyword>     # search for <keyword>\n"
      }
    ],
    "field": [
      {
        "id": "sync",
        "label": "Sync operation",
        "type": "boolean",
        "option": [
          "-S"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "search",
        "label": "Search",
        "type": "boolean",
        "option": [
          "-s",
          "--search"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "info",
        "label": "Show info",
        "type": "boolean",
        "option": [
          "-i",
          "--info"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "sysupgrade",
        "label": "Upgrade installed packages",
        "type": "boolean",
        "option": [
          "-u",
          "--sysupgrade"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "refresh",
        "label": "Refresh databases",
        "type": "boolean",
        "option": [
          "-y",
          "--refresh"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "aur",
        "label": "AUR only",
        "type": "boolean",
        "option": [
          "-a",
          "--aur"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "devel",
        "label": "Update VCS packages",
        "type": "boolean",
        "option": [
          "--devel"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "noedit",
        "label": "Do not prompt to edit",
        "type": "boolean",
        "option": [
          "--noedit"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "needed",
        "label": "Skip up-to-date packages",
        "type": "boolean",
        "option": [
          "--needed"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "noconfirm",
        "label": "No confirmation",
        "type": "boolean",
        "option": [
          "--noconfirm"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "packages",
        "label": "Packages or keywords",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "help"
        ]
      }
    ],
    "task": [
      {
        "id": "install",
        "label": "Install packages",
        "fields": [
          "sync",
          "packages",
          "needed",
          "noedit"
        ],
        "required": [
          "sync",
          "packages"
        ],
        "set": {
          "sync": [
            true
          ]
        }
      },
      {
        "id": "search",
        "label": "Search",
        "fields": [
          "sync",
          "search",
          "packages",
          "aur"
        ],
        "required": [
          "packages"
        ],
        "set": {
          "sync": [
            true
          ],
          "search": [
            true
          ]
        }
      },
      {
        "id": "upgrade",
        "label": "Upgrade AUR",
        "fields": [
          "sync",
          "sysupgrade",
          "aur",
          "devel"
        ],
        "required": [
          "sync"
        ],
        "set": {
          "sync": [
            true
          ],
          "sysupgrade": [
            true
          ],
          "aur": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "sync",
          "search",
          "info",
          "sysupgrade",
          "packages"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "refresh",
          "aur",
          "devel",
          "noedit",
          "needed",
          "noconfirm"
        ]
      }
    ]
  }
}
