{ "name": "mandible", "version": "0.8.3", "summary": "mandible: a terminal manual of the installed command-line tools, their subcommands and flags read from their help (Rust)", "category": "tool", "license": "MIT OR Apache-2.0", "homepage": "https://github.com/AS-FOSS/mandible", "source": { "url": "https://github.com/AS-FOSS/mandible/archive/refs/tags/v0.8.3.tar.gz", "sha256": "2b27891c9d6ec872cb4287c9d5eac5d17e699cd90be35702a63d04ffd5a7c661" }, "watch": {"kind": "github-release", "repo": "AS-FOSS/mandible", "tag_regex": "^v([0-9]+\\.[0-9]+\\.[0-9]+)$", "revendor": {"tool": "cargo", "lockfile": "Cargo.lock"}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": true, "check": "bin/mandible --version | has -x 'mandible 0.8.3' && t=$(mktemp -d) && mkdir \"$t/bin\" && printf '%s\\n' '#!/bin/sh' 'case \"$*\" in' ' \"--help\"|\"-h\"|\"help\") printf '\\''bvstool 1.0: a test tool\\n\\nUsage: bvstool [OPTIONS] \\n\\nCommands:\\n deploy Deploy the bvs app\\n status Show the bvs status\\n help Print this message\\n\\nOptions:\\n -v, --verbose Say more\\n -h, --help Print help\\n'\\'' ;;' ' \"deploy --help\"|\"help deploy\") printf '\\''Deploy the bvs app\\n\\nUsage: bvstool deploy [OPTIONS]\\n\\nOptions:\\n --target Where to deploy\\n -h, --help Print help\\n'\\'' ;;' ' \"status --help\"|\"help status\") printf '\\''Show the bvs status\\n\\nUsage: bvstool status\\n\\nOptions:\\n -h, --help Print help\\n'\\'' ;;' ' *) echo \"bvstool: $*\"; exit 1 ;;' 'esac' > \"$t/bin/bvstool\" && chmod 755 \"$t/bin/bvstool\" && HOME=$t XDG_CACHE_HOME=$t/.cache XDG_CONFIG_HOME=$t/.config XDG_DATA_HOME=$t/.data PATH=\"$t/bin:$PATH\" bin/mandible --allow-root --doctor bvstool > \"$t/doctor\" 2>&1 && has 'help_text *ok' < \"$t/doctor\" && has '^nodes: *4$' < \"$t/doctor\" && has '^flags: *2 ' < \"$t/doctor\" && HOME=$t XDG_CACHE_HOME=$t/.cache XDG_CONFIG_HOME=$t/.config XDG_DATA_HOME=$t/.data PATH=\"$t/bin:$PATH\" tui_screen 4 bin/mandible --allow-root bvstool > \"$t/screen\" && has 'Deploy the bvs app' < \"$t/screen\" && has 'Show the bvs status' < \"$t/screen\" && echo 'mandible 0.8.3: a stand-in tool read from its help (4 nodes, 2 flags) by --doctor, its tree drawn in a pseudo-terminal'" }