An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Repo - obtaining the GitHub repository's full name, url, etc. from the name of the repository
[![HitCount](http://hits.dwyl.com/takagiy/repo_cmd.svg)](http://hits.dwyl.com/takagiy/repo_cmd)
[![Crates.io](https://img.shields.io/crates/v/repo_cmd)](https://crates.io/crates/repo_cmd)
[![GitHub](https://img.shields.io/github/license/takagiy/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
```