fripost git获取并返回Git存储库名称
fripost-git 从解析 Git 存储库名称并返回数组中的名称。如果用作 CLI 工具,则将 Git URL 打印到 stdout。
用法:
var fripost = require('fripost-git');
fripost(function(err, repos) {
repos.forEach(function(repo) {
console.log('https://git.fripost.org/pub/' + repo);
});
});
示例输出:
-
https://git.fripost.org/pub/fripost-docs.git
-
https://git.fripost.org/pub/fripost-meetings.git
-
https://git.fripost.org/pub/fripost-prop.git
下载地址
用户评论