@@ -42,14 +42,30 @@ Use the `--type=` option to download files other than user-uploaded release asse
42
42
43
43
gget --type=archive github.com/stedolan/jq '*.zip'
44
44
45
- Use the ` blob ` type to download individual repository files. In addition to tags, branch and commit references may be used for these types.
45
+ Use the ` blob ` type to download individual repository files. Branch and commit references may also be used for these types.
46
46
47
47
gget --type=blob github.com/stedolan/[email protected] README.md
48
48
49
49
Use ` --help ` to see all options and learn more about advanced usage.
50
50
51
51
gget --help
52
52
53
+ ### Installation
54
+
55
+ Binaries for Linux, macOS, and Windows can be downloaded from the [ releases] ( https://github.com/dpb587/gget/releases ) page.
56
+
57
+ A [ Homebrew] ( https://brew.sh/ ) recipe is available for Linux and macOS.
58
+
59
+ ```
60
+ brew install dpb587/tap/gget
61
+ ```
62
+
63
+ Use ` go get ` to build the latest development version.
64
+
65
+ ```
66
+ go get -u github.com/dpb587/gget
67
+ ```
68
+
53
69
## Docker Usage
54
70
55
71
The ` dpb587/gget ` image can be used as a build stage for finding and downloading assets for use in a subsequent stage.
@@ -71,22 +87,6 @@ The following services are supported through their APIs:
71
87
72
88
* ** GitHub** – personal access tokens may be set via ` $GITHUB_TOKEN ` or a ` .netrc ` password
73
89
74
- ## Installation
75
-
76
- Binaries for Linux, macOS, and Windows can be downloaded from the [ releases] ( https://github.com/dpb587/gget/releases ) page.
77
-
78
- A [ Homebrew] ( https://brew.sh/ ) recipe is available for Linux and macOS.
79
-
80
- ```
81
- brew install dpb587/tap/gget
82
- ```
83
-
84
- Use ` go get ` to build the latest development version.
85
-
86
- ```
87
- go get -u github.com/dpb587/gget
88
- ```
89
-
90
90
## Alternatives
91
91
92
92
* ` wget ` /` curl ` -- if you want to manually maintain download URLs and private signing
0 commit comments