Henry.H

Results 778 comments of Henry.H

# Mono Repo for Dart: - 统一大仓库 ## 工具: - ✅ https://github.com/invertase/melos - ✅ https://docs.page/invertase/melos/getting-started ## mono repo: - ✅ https://github.com/better-dart/pkg - ✅ 所有的 dart lib 统一放在这里. ```ruby # 激活工具:...

# 使用 zig 编写 cli 命令行工具: ## 需求背景: > 场景1: - 个人开发机器, git, zsh, fish, ssh, go, rust, zig 等一些工具, 模板配置(最优配置段). > 场景2: - 初始化项目, 经常需要频繁添加一些模板文件(license, .gitignore, Python, go, rust,...

## 依赖包: - ✅ https://github.com/Hejsil/zig-clap - 借鉴 rust `clap` - ✅ https://github.com/PrajwalCH/yazap - 借鉴 rust `clap` - ✅ https://github.com/sam701/zig-cli - 借鉴 go `urfave/cli` > 文件下载: - https://github.com/marler8997/ziget - https://github.com/mattn/zig-curl >...

## cli 参考示例项目: > search: - https://github.com/topics/cli?l=zig - https://github.com/topics/command-line?l=rust ### zig: - https://github.com/Hejsil/zig-clap/blob/master/example/simple.zig - https://github.com/natecraddock/zf > 基于 zig-clap: - ✅ https://github.com/knadh/csv2json ### rust: - ✅ https://github.com/ajeetdsouza/zoxide

## 将 cli 工具发布到 homebrew: - homebrew 是 mac 平台第三方工具托管平台. - https://github.com/Homebrew/homebrew-core > 参考: - https://docs.brew.sh/Formula-Cookbook - https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap - https://xie.infoq.cn/article/fdb63902ad0516a03c8e3b4f5 - https://guoxudong.io/post/golang-to-homebrew/ - https://bharathvaj-ganesan.medium.com/how-to-publish-your-nodejs-application-on-homebrew-7a24de9ea973