-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove -c flag, it was confusing and not that useful
- Loading branch information
1 parent
1410231
commit a8ec0b4
Showing
3 changed files
with
13 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,18 @@ | ||
# ghrel | ||
|
||
`ghrel` lists, downloads and verifies assets (files) of the latest release from a GitHub repository: | ||
|
||
```sh | ||
$ ghrel -v -p '*linux*' -l jreisinger/ghrel | ||
Asset Updated Size Download count | ||
----- ------- ---- -------------- | ||
ghrel_0.8.0_linux_386.tar.gz 2023-04-12 2031657 7 | ||
ghrel_0.8.0_linux_amd64.tar.gz 2023-04-12 2144060 42 | ||
ghrel_0.8.0_linux_arm64.tar.gz 2023-04-12 1974168 8 | ||
ghrel_0.8.0_linux_armv6.tar.gz 2023-04-12 2008815 7 | ||
``` | ||
$ ghrel | ||
Download and verify assets (files) of the latest release from a GitHub repository. | ||
$ ghrel -v -p '*linux*' jreisinger/ghrel | ||
downloaded 4 + 1 checksum file(s) | ||
verified 4 | ||
removed checksum file(s) | ||
ghrel [flags] <owner>/<repo> | ||
-l just list assets, don't download them | ||
-p pattern | ||
assets matching shell pattern (doesn't apply to checksum files) | ||
-v be verbose | ||
``` | ||
|
||
To use ghrel, download a [binary](https://github.com/jreisinger/ghrel/releases) for your system and architecture or if you have [Go installed](https://go.dev/doc/install): | ||
|
||
```sh | ||
``` | ||
$ go install github.com/jreisinger/ghrel@latest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters