id = "pear"
name = "PEAR"
homepage = "https://pear.php.net"
description = "PEAR is a framework and distribution system for reusable PHP components."
icon = "https://pear.php.net/gifs/pear-icon.png"
executables = ["pear"]
platforms = ["macos", "linux"]
[dotfiles]
paths = ["~/.pearrc"]
exclude = []
secret = []
[commands]
format = 1
label = "Manage PEAR packages"
description = "Run a package command (install, upgrade, uninstall, list) with the global verbosity options. Per-command flags and configuration overrides are left out."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = false, short_bundles = false }
[[commands.source]]
id = "manpage"
kind = "manual"
url = "https://manpages.debian.org/unstable/php-pear/pear.1.en.html"
revision = "debian unstable"
evidence = """-v
increase verbosity level (default 1)
-q
be quiet, decrease verbosity level
install
Install Package
list
List Installed Packages In The Default Channel
uninstall
Un-install Package
upgrade
Upgrade Package"""
[[commands.field]]
id = "verbose"
label = "Verbosity"
type = "count"
option = ["-v"]
sources = ["manpage"]
[[commands.field]]
id = "quiet"
label = "Quiet"
type = "boolean"
option = ["-q"]
sources = ["manpage"]
[[commands.field]]
id = "action"
label = "Command"
type = "enum"
position = 0
choices = [{ value = "install", label = "Install" }, { value = "upgrade", label = "Upgrade" }, { value = "uninstall", label = "Uninstall" }, { value = "list", label = "List installed" }]
sources = ["manpage"]
[[commands.field]]
id = "packages"
label = "Packages"
description = "Package names; not used by list."
type = "string"
position = 1
multiple = true
sources = ["manpage"]
[[commands.task]]
id = "install"
label = "Install packages"
set = { action = ["install"] }
lock = ["action"]
fields = ["action", "packages", "verbose"]
required = ["packages"]
[[commands.task]]
id = "list"
label = "List installed"
set = { action = ["list"] }
lock = ["action"]
fields = ["action"]
required = []
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["action", "packages"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["verbose", "quiet"]