macOS
brew install clitestlocal Homebrew formula metadata
安装
brew install clitestlocal Homebrew formula metadata
sudo apt install clitestDebian stable package indexes · clitest · 来源: deb.debian.org
sudo dnf install clitestFedora Rawhide package metadata · clitest · 来源: dl.fedoraproject.org
sudo pacman -S clitestArch Linux sync databases · clitest · 来源: geo.mirror.pkgbuild.com
概览
Command-Line Tester
历史
clitest is a portable POSIX shell script for testing command-line sessions by comparing commands and expected output written in a terminal-like transcript.
clitest was published by Aurelio Jargas as a small single-script command-line testing tool. The upstream README frames it as applying the doctest idea to Unix command lines: documentation-like shell sessions can become executable tests.
The project is intentionally small, but it reached several developer-oriented package channels: the batch input records Homebrew, Debian, Fedora, Arch, and Ubuntu packages. The README also documents a Docker image and points to funcoeszz test files as a larger real-world suite using the clitest format.
Users write a text or Markdown file containing prompts, commands, and expected output, then run `clitest FILE` to execute and check those examples. The README documents prefix handling for indented Markdown code blocks and inline expected-output markers such as `#=>`.
clitest matters to package nerds as a tiny, portable test runner for command-line examples. It is the sort of tool that can smoke-test package documentation, man-page examples, and shell snippets without bringing in a language-specific test framework.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clitest | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/aureliojargas/clitest
安装元数据
| 软件包键 | brew:clitest |
|---|---|
| 版本 | 0.5.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/clitest |
| 主页 | https://github.com/aureliojargas/clitest |
| 仓库 | https://github.com/aureliojargas/clitest |
| 上游文档 | https://github.com/aureliojargas/clitest#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/aureliojargas/clitest/archive/refs/tags/0.5.0.tar.gz |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clitest |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
clitest 0.5.0-1
portable testing tool for Unix command lines
https://github.com/aureliojargas/clitest
sudo apt install clitestclitest 0.4.0-1
portable testing tool for Unix command lines
https://github.com/aureliojargas/clitest
sudo apt install clitestclitest 0.5.0-9.fc44
Command Line Tester
https://github.com/aureliojargas/clitest
sudo dnf install clitestclitest 0.5.0-2
Perform automatic testing in Unix command lines
https://github.com/aureliojargas/clitest
sudo pacman -S clitest来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.