pullcode-1.0.0 is not a library.
pullcode
通过yaml文件从远程代码仓库拉取代码。
yaml文件示例:
# 如果需要的话可指定git的用户名和邮箱
git_name: xxx
git_email: xxx@xxx.com
# 代码仓库列表
repos:
# 拉取代码仓库到当前目录下,使用projectName命名
- name:
url: https://remote-git-url/projectName.git
# 拉取代码仓库到指定目录下,必须已'/'结尾
- name: someDir/
url: https://remote-git-url/projectName.git
# 拉取代码仓库到当前目录下,以aliasName命名
- name: aliasName
url: https://remote-git-url/projectName.git
# 拉取代码仓库到指定目录下,并以aliasName命名
- name: someDir/aliasName
url: https://remote-git-url/projectName.git
Pull code from remote repositories through a YAML file.
YAML file example:
# Specify git username and email if needed
git_name: xxx
git_email: xxx@xxx.com
# Repository list
repos:
# Pull repository to current directory, named as projectName
- name:
url: https://remote-git-url/projectName.git
# Pull repository to specified directory, must end with '/'
- name: someDir/
url: https://remote-git-url/projectName.git
# Pull repository to current directory, named as aliasName
- name: aliasName
url: https://remote-git-url/projectName.git
# Pull repository to specified directory and name it aliasName
- name: someDir/aliasName
url: https://remote-git-url/projectName.git