用于克隆frc robot项目并为eclipse配置它们的脚本
roboclone的Python项目详细描述
一个用于克隆包含frc robot项目的git存储库的简单脚本 并将它们配置为与eclipse一起使用。
安装说明
打开终端并运行:
pip install roboclone
如果要将最新版本推送到git,请运行:
pip install git+https://github.com/simon-andrews/roboclone.git
用法
现在你已经安装了Roboclone,是时候使用它了!打开终端并键入roboclone。像这样的东西 应该出现:
$ roboclone usage: roboclone [-h] [--gitargs args] [--force [FORCE]] remote_url destination roboclone: error: the following arguments are required: remote_url, destination
添加-h开关以显示帮助消息:
$ roboclone -h usage: roboclone [-h] [--gitargs args] [--force [FORCE]] remote_url destination positional arguments: remote_url url of the remote git repository (https or ssh) destination directory to clone repository to optional arguments: -h, --help show this help message and exit --gitargs args extra arguments for git --force [FORCE] write metadata files even if they already exist in the repo
克隆存储库:
$ roboclone https://github.com/Team4761/2015-Robot-Code.git 2015-Robot-Code 100%