Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, pacman 安装 clitest

查看 clitest 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clitest

local Homebrew formula metadata

概览

软件包摘要

Command-Line Tester

命令和别名

  • clitest

历史

项目历史与用法

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.

时间线

  • 2013: GitHub repository created and early 0.1.0 tag committed.
  • 2023: Version 0.5.0 tag committed.
  • 2023: Upstream README documents direct script installation, Docker use, Markdown extraction, and real-world clitest suites.

Related projects

  • Related projects and concepts include Python doctest, doctest.fish for fish shell users, shellspec-style shell testing tools, and command-documentation test suites such as funcoeszz's clitest files.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clitestcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-24
管理器版本0.5.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本0.5.0

https://github.com/aureliojargas/clitest

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclitest
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

clitest 0.5.0-1

portable testing tool for Unix command lines

https://github.com/aureliojargas/clitest

sudo apt install clitest
  • Section: misc
  • Architecture: all
  • normalized package name match
  • 匹配方式:Clitest
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clitest from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

clitest 0.4.0-1

portable testing tool for Unix command lines

https://github.com/aureliojargas/clitest

sudo apt install clitest
  • Section: universe/misc
  • Architecture: all
  • normalized package name match
  • 匹配方式:Clitest
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clitest from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

clitest 0.5.0-9.fc44

Command Line Tester

https://github.com/aureliojargas/clitest

sudo dnf install clitest
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: clitest
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Clitest
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clitest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

clitest 0.5.0-2

Perform automatic testing in Unix command lines

https://github.com/aureliojargas/clitest

sudo pacman -S clitest
  • License: MIT
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Clitest
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: clitest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment