5 个版本
0.9.3 | 2024年7月7日 |
---|---|
0.9.2 | 2024年6月22日 |
0.9.1 | 2024年6月9日 |
0.9.0 | 2024年5月10日 |
0.8.0 | 2024年5月5日 |
#131 在 Cargo 插件
每月411次下载
15KB
378 代码行
cvefixer
修复所有已修复的漏洞!这个 Rust 应用更新您的 Linux 计算机上许多小应用程序,包括 Rust 库、Flatpak 软件包、Bun 等。
要求
Rust!
安装
cargo install cvefixer
用法
Usage: cvefixer [COMMAND]
Commands:
all Run all update tasks
bun Update Bun
deno Update Deno
flatpak Update Flatpak packages
hooks Run configured hook scripts
os Update OS packages (supports RHEL-like, Gentoo, Ubuntu)
rust Update Rust and Cargo packages
ruby Update Ruby and Gems
test Test command for development
help Print this message or the help of the given subcommand(s)
配置
您可以为 cvefixer all
和 cvefixer hooks
定义要运行的钩子脚本,如下所示在 JSON 配置文件中
{
"hooks": [
"/home/janie/.local/bin/update_git_repos.sh"
]
}
cvefixer 将按照以下位置,以随机顺序查找配置文件
$HOME/.config/cvefixer/cvefixer.json
$HOME/.config/cvefixer/config.json
$HOME/.config/cvefixer.json
$HOME/cvefixer.json
$HOME/.cvefixer.json
依赖
~7–18MB
~252K SLoC