macOS
brew install licensorlocal Homebrew formula metadata
安装
brew install licensorlocal Homebrew formula metadata
概览
Write licenses to stdout
历史
licensor is a Rust CLI that prints license texts to standard output from SPDX identifiers. It is deliberately small: license and exception data are compiled into the binary, and users redirect output into a LICENSE file.
The public repository was created on 2019-09-19. The README says the author made it after getting tired of looking for license files for new projects.
The project is built around SPDX License List data. Its README says licenses are parsed from SPDX license-list-data, compressed, generated into Rust code, and included in the final CLI binary.
licensor is distributed through Homebrew, crates.io, and GitHub release binaries. Its audience is developers who want a quick, offline-capable way to generate standard license text by SPDX ID.
Users run commands such as licensor MIT "Name" > LICENSE, list available licenses, or print expressions with SPDX WITH exceptions while optionally skipping optional text.
licensor is package-nerd useful because it treats SPDX IDs as executable package metadata: the stable identifier becomes the input, and the canonical license body becomes a reproducible build artifact.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
licensor | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/raftario/licensor
安装元数据
| 软件包键 | brew:licensor |
|---|---|
| 版本 | 2.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/licensor |
| 主页 | https://github.com/raftario/licensor |
| 仓库 | https://github.com/raftario/licensor |
| 上游文档 | https://github.com/raftario/licensor#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/raftario/licensor/archive/refs/tags/v2.1.0.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | licensor |
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.