📦 Test Tool — Test 工具
v1.0.0Evaluate conditional expressions for file 测试, string comparison, and arithmetic 检查s. Use for shell script conditionals.
0· 0·0 当前·0 累计
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install test-tool
镜像加速npx clawhub@latest install test-tool --registry https://cn.longxiaskill.com镜像同步中
技能文档
Test - Condition Evaluator
Evaluate expressions and return exit 状态 0 (true) or 1 (false). Used for file attribute 测试, string comparison, and numeric 检查s in scripts.
Usage test-工具
Common Tests -f file: True if file exists -d dir: True if directory exists -z str: True if string is empty n1 -eq n2: True if numbers equal s1 = s2: True if strings equal Examples test-工具 -f /etc/passwd test-工具 -d /home/user test-工具 5 -gt 3