{ "name": "gum", "version": "2.0.2", "summary": "gum: building blocks for shell scripts in the terminal (choose, filter, input, confirm, spin, style, table) (static Go)", "category": "tool", "license": "MIT", "homepage": "https://github.com/charmbracelet/gum", "source": { "url": "https://proxy.golang.org/charm.land/gum/v2/@v/v2.0.2.zip", "sha256": "21393b160077b2a98769b75e1bb1b91e73f15d19869cd5de4a12d2c37a572a5f" }, "watch": {"kind": "index", "url": "https://proxy.golang.org/charm.land/gum/v2/@v/list", "regex": "(?m)^v([0-9]+\\.[0-9]+\\.[0-9]+)$", "revendor": {"tool": "go", "args": ["."]}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": false, "check": "bin/gum --version | has -x 'gum version v2.0.2' && elf=$(readelf -l bin/gum) && [ -n \"$elf\" ] && ! printf '%s\\n' \"$elf\" | has 'program interpreter' && t=$(mktemp -d) && [ \"$(printf 'apple\\nbanana\\ncherry\\n' | bin/gum filter --value ban --select-if-one)\" = banana ] && printf 'name,size\\nalpha,1\\nbeta,22\\n' > \"$t/t.csv\" && bin/gum table --print --border normal -f \"$t/t.csv\" > \"$t/table\" && has -E 'beta +│ +22 +│' < \"$t/table\" && [ \"$(bin/gum style --border double --padding '0 1' bvs | sed -n 2p)\" = '║ bvs ║' ] && [ \"$(bin/gum join --vertical one two)\" = \"$(printf 'one\\ntwo')\" ] && echo 'gum 2.0.2: a filter picks the one match, a CSV file printed as a table, a word in a double border, two joined'" }