generated from APACGAMONDE/APACGAMONDE
-
Notifications
You must be signed in to change notification settings - Fork 2
/
gh-run-download.1
68 lines (46 loc) · 1.21 KB
/
gh-run-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
65
66
67
68
.nh
.TH "gh" "1" "Jun 2021" "" ""
.SH NAME
.PP
gh\-run\-download \- Download artifacts generated by a workflow run
.SH SYNOPSIS
.PP
\fBgh run download [] [flags]\fP
.SH DESCRIPTION
.PP
Download artifacts generated by a GitHub Actions workflow run.
.PP
The contents of each artifact will be extracted under separate directories based on
the artifact name. If only a single artifact is specified, it will be extracted into
the current directory.
.SH OPTIONS
.PP
\fB\-D\fP, \fB\-\-dir\fP="."
The directory to download artifacts into
.PP
\fB\-n\fP, \fB\-\-name\fP=[]
Only download artifacts that match any of the given names
.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 artifacts generated by a workflow run
$ gh run download <run\-id>
# Download a specific artifact within a run
$ gh run download <run\-id> \-n <name>
# Download specific artifacts across all runs in a repository
$ gh run download \-n <name1> \-n <name2>
# Select artifacts to download interactively
$ gh run download
.fi
.RE
.SH SEE ALSO
.PP
\fBgh\-run(1)\fP