https://github.com/tomkyle/repo-info
Show Tarball URL and SHA-256 checksum for a GithUb repo, copying checksum to clipboard.
https://github.com/tomkyle/repo-info
Last synced: 7 months ago
JSON representation
Show Tarball URL and SHA-256 checksum for a GithUb repo, copying checksum to clipboard.
- Host: GitHub
- URL: https://github.com/tomkyle/repo-info
- Owner: tomkyle
- Created: 2017-05-11T10:36:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-11T10:37:36.000Z (about 9 years ago)
- Last Synced: 2024-12-29T11:45:52.985Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# repo-info
**Show Tarball URL and SHA-256 checksum for a GithUb repo, copying checksum to clipboard.**
Requirements:
- [Homebrew](https://brew.sh/) Package manager for OS X
- [tomkyle/homebrew-daily](https://github.com/tomkyle/homebrew-daily) My Homebrew tap for daily work.
## Homebrew Installation (OS X)
The *linear-tiff* bash script can be installed by a Homebrew formula, which itself is part of the [tomkyle/homebrew-negatives](https://github.com/tomkyle/homebrew-negatives) tap.
```bash
# Install tap, opt
$ brew tap tomkyle/daily
# Install formula
$ brew install repo-info
```
As “tapping” first is not neccessarily needed, you can install the formula directly:
```bash
$ brew install tomkyle/daily/repo-info
```
# Usage and Example
Run *repo-info* without parameters to get a short help text.
```bash
$ repo-info vendor/project [version]
```
**version:** Version tag like `1.0.13` which is useful for homebrew taps. If omitted, `master` will be assumed.
```bash
$ repo-info slimphp/Slim 2.5.0
Repo: slimphp/Slim
Version: 2.5.0
Tarball: https://github.com/slimphp/Slim/archive/2.5.0.tar.gz
SHA-256: c4c3a81b311069b0dc4ebedd7aa843e86dcb9f3938e5e6ea3e03b6e225c4a21c
The SHA-256 was copied to your clipboard. Use Cmd/Strg-V to paste somewhere.
```