https://github.com/takagiy/repo_cmd
Repo - A CLI tool obtaining the GitHub repository's full name, url, etc. from the name of the repository
https://github.com/takagiy/repo_cmd
author cli github link name repository rust url
Last synced: about 1 month ago
JSON representation
Repo - A CLI tool obtaining the GitHub repository's full name, url, etc. from the name of the repository
- Host: GitHub
- URL: https://github.com/takagiy/repo_cmd
- Owner: takagiy
- License: mit
- Created: 2020-05-03T15:04:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-04T04:39:46.000Z (about 6 years ago)
- Last Synced: 2025-04-28T08:18:29.114Z (about 1 year ago)
- Topics: author, cli, github, link, name, repository, rust, url
- Language: Rust
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repo - obtaining the GitHub repository's full name, url, etc. from the name of the repository
[](http://hits.dwyl.com/takagiy/repo_cmd)
[](https://crates.io/crates/repo_cmd)
[](https://github.com/takagiy/repo_cmd/blob/master/LICENSE)
repo is a command which can obtain the repository's full name; the `{author}/{repository}`-formatted string, from the name of the repository by connecting to the [GitHub searching API](https://developer.github.com/v3/search/).
```console
$ 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'...
```
## Installation
You can install `repo_cmd` with [`cargo`](https://doc.rust-lang.org/stable/cargo/).
```console
$ cargo install repo_cmd
```