logo
0
0
WeChat Login

homebrew-cnb-rs

CNB Audit Homebrew Formulae Install And Test Homebrew Formulae

cnb-rsHomebrew Tap。

cnb-rs 是一个非官方的 CNB (cnb.cool) 命令行工具。

安装

brew tap wwvo/cnb-rs https://cnb.cool/wwvo/cnb-rs/homebrew-cnb-rs.git brew install wwvo/cnb-rs/cnb-rs

更新

brew upgrade cnb-rs

迁移提示

主仓库的命令入口已从 cnb 改为 cnb-rs

如果你仍希望继续输入 cnb,可以在 shell 配置中添加 alias:

alias cnb='cnb-rs'

终端补全

Homebrew Formula 会随安装过程生成补全脚本。

如果你的 shell 已经正确启用了 Homebrew 的 completion 支持,通常不需要额外配置。

如果补全没有自动生效,请参考 Homebrew 官方文档为当前 shell 打开 completion 支持:

对通过 Homebrew 安装的 cnb-rs,常见场景主要是 bashzshfish

安装完成后,请重启终端或执行相应的 shell 重载命令使补全生效:

Bash:

source ~/.bashrc

Zsh:

source ~/.zshrc

Fish:

source ~/.config/fish/config.fish

相关链接

About

Homebrew Tap for the CNB CLI.

808.00 KiB
0 forks0 stars1 branches0 TagREADMEMIT license
Language
Python77.5%
Ruby22.5%