forked from APACGAMONDE/Gift-Card-Trade-in
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgh-release-download.1
64 lines (43 loc) · 1.04 KB
/
gh-release-download.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.nh
.TH "gh" "1" "Jun 2021" "" ""
.SH NAME
.PP
gh\-release\-download \- Download release assets
.SH SYNOPSIS
.PP
\fBgh release download [] [flags]\fP
.SH DESCRIPTION
.PP
Download assets from a GitHub release.
.PP
Without an explicit tag name argument, assets are downloaded from the
latest release in the project. In this case, '\-\-pattern' is required.
.SH OPTIONS
.PP
\fB\-D\fP, \fB\-\-dir\fP="."
The directory to download files into
.PP
\fB\-p\fP, \fB\-\-pattern\fP=[]
Download only assets that match a glob pattern
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-help\fP[=false]
Show help for command
.PP
\fB\-R\fP, \fB\-\-repo\fP=""
Select another repository using the \fB\fC[HOST/]OWNER/REPO\fR format
.SH EXAMPLE
.PP
.RS
.nf
# download all assets from a specific release
$ gh release download v1.2.3
# download only Debian packages for the latest release
$ gh release download \-\-pattern '*.deb'
# specify multiple file patterns
$ gh release download \-p '*.deb' \-p '*.rpm'
.fi
.RE
.SH SEE ALSO
.PP
\fBgh\-release(1)\fP