volexity/GitToolFetcher

GitHub: volexity/GitToolFetcher

一款帮助开发者集中管理 GitHub 托管项目多个并发版本的命令行工具,支持版本的安装、卸载、查看及按指定版本执行命令。

Stars: 4 | Forks: 2

# GitToolFetcher GitToolFetcher 是一款帮助管理 GitHub 托管项目多个并发版本的工具。 ## 如何安装 要安装 GitToolFetcher,我们建议直接从 PyPi 拉取: ``` pip install gittoolfetcher ``` 这将会安装 GitToolFetcher 及其必要的依赖项。 ### 从源码构建 如果您希望从源码构建并安装 GitToolFetcher,可以使用 Hatch 的常用构建命令: ``` hatch build ``` 构建好的归档文件将作为一个 .whl 文件被放置在 "dist" 目录中。 要安装 GitToolFetcher,只需使用 pip 安装该 .whl 文件即可。 ``` pip install dist/gittoolfetcher-*.whl ``` ## 命令行用法 安装完成后,一个新的实用工具 `gittoolfetcher` 将变得可用。 ``` usage: gittoolfetcher [-h] [-r] [-s] [-i [INSTALL ...]] [-u [UNINSTALL ...]] [-v VERSION] [-l] [-e COMMAND] REPO_NAME positional arguments: REPO_NAME Name of the GitHub repo to manage. options: -h, --help show this help message and exit -r, --refresh Refresh the available version cache. -s, --show Show available project versions. -i [INSTALL ...], --install [INSTALL ...] Install one or more project versions. -u [UNINSTALL ...], --uninstall [UNINSTALL ...] Uninstall one or more project versions. -v [VERSION ...], --version [VERSION ...] Select a version of the project. -l, --list List installed project versions. -e COMMAND, --execute COMMAND Execute a command with the selected version of the project. ``` 以下是使用 GitToolFetcher 的典型工作流程: ``` gittoolfetcher golang/go -r -s -i go1.14,go1.6,go1.23.4 -l ```
标签:Python, SOC Prime, 开发工具, 无后门, 版本管理, 逆向工具