3个版本
0.1.2 | 2020年5月4日 |
---|---|
0.1.1 | 2020年5月4日 |
0.1.0 | 2020年5月3日 |
#21 in #obtain
11KB
141 代码行
Repo - 从仓库名称中获取GitHub仓库的全名、URL等
repo是一个命令,可以连接到GitHub搜索API,从仓库名称获取仓库的全名;格式为{author}/{repository}
的字符串。
$ repo rust
rust-lang/rust
$ repo url rust
https://github.com/rust-lang/rust.git
$ repo git-url rust
git://github.com/rust-lang/rust.git
$ repo link rust
https://github.com/rust-lang/rust
$ git clone $(repo url rust)
Cloning into 'rust'...
安装
您可以使用cargo
安装repo_cmd
。
$ cargo install repo_cmd
依赖关系
~4.5–9MB
~202K SLoC