macOS
brew install swiftplantumllocal Homebrew formula metadata
安装
brew install swiftplantumllocal Homebrew formula metadata
概览
Generate UML class diagrams from Swift sources
历史
SwiftPlantUML is a Swift CLI and Swift Package that generates PlantUML class diagrams from Swift source. It occupies a smaller but recognizable package-manager niche: source-code documentation tooling that can be installed with Homebrew or Mint and run from a project checkout.
The GitHub repository was created in January 2021. The official README describes a command-line tool and Swift Package for generating class diagrams powered by PlantUML from Swift files.
The project grew around SourceKit-backed Swift source inspection. Its README documents command-line operation, Swift Package use, an Xcode source editor extension, and configuration through `.swiftplantuml.yml`.
Official installation instructions include Homebrew, Mint, and source builds. The README also notes that the Homebrew installation previously used the maintainer's tap before the plain `brew install swiftplantuml` command became available.
GitHub release metadata shows public releases through the 0.8.x series in 2024. Compared with SwiftLint or SwiftFormat, the official record supports a narrower adoption story centered on diagram generation rather than general Swift build hygiene.
Common usage is running `swiftplantuml` or the default `classdiagram` subcommand against files or directories containing Swift sources. The tool can emit or view generated PlantUML output and can use `.swiftplantuml.yml` for includes, excludes, access-level filtering, relationship display, and theming.
Because SwiftPlantUML hooks into SourceKit, the README tells users to run it with the same Swift toolchain used to compile the code.
SwiftPlantUML matters to package nerds as an example of a small Swift CLI that packages compiler-adjacent source inspection into a reusable tool. Its Homebrew and Mint support make architecture documentation reproducible without requiring every developer to build from source.
It also shows the packaging friction around SourceKit tools: the binary is simple to install, but correctness can still depend on the active Swift/Xcode toolchain.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
swiftplantuml | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/MarcoEidinger/SwiftPlantUML
安装元数据
| 软件包键 | brew:swiftplantuml |
|---|---|
| 版本 | 0.8.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/swiftplantuml |
| 主页 | https://marcoeidinger.github.io/SwiftPlantUML/ |
| 仓库 | https://github.com/MarcoEidinger/SwiftPlantUML |
| 上游文档 | https://github.com/MarcoEidinger/SwiftPlantUML#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/MarcoEidinger/SwiftPlantUML/archive/refs/tags/0.8.1.tar.gz |
| Bottle | 可用 (于 arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | swiftplantuml |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.