download-github

一个通过命令行下载 GitHub 仓库子目录的工具,支持指定分支、目录和下载位置,可作为 npm 包调用。

项目:lencx/download-github## 功能- 支持命令行- 支持 npm 包调用- 支持 github 特定分支,特定目录下载- 指定下载位置## 使用帮助:bashnpx dgh -h测试:bashnpx dgh \ --owner=lencx \ --repo="learn-wasm" \ --name="dgh-test-download" \ --ref="gh-pages" \ --subdir="assets" \ --root="my/path"演示:asciicast