1glab(1) glab(1)
2
3
4
6 glab-repo-archive - Get an archive of the repository.
7
8
9
11 glab repo archive [flags]
12
13
14
16 Clone supports these shorthands
17
18
19 • repo
20
21 • namespace/repo
22
23 • namespace/group/repo
24
25
26
27
29 -f, --format="zip" Optionally Specify format if you want a down‐
30 loaded archive: {tar.gz|tar.bz2|tbz|tbz2|tb2|bz2|tar|zip}.
31
32
33 -s, --sha="" The commit SHA to download. A tag, branch reference,
34 or SHA can be used. This defaults to the tip of the default branch if
35 not specified
36
37
38
40 --help[=false] Show help for command
41
42
43
45 glab repo archive profclems/glab
46 glab repo archive # Downloads zip file of current repository
47 glab repo archive profclems/glab mydirectory # Downloads repo zip file into mydirectory
48 glab repo archive profclems/glab --format=zip # Finds repo for current user and download in zip format
49
50
51
52
53
55 glab-repo(1)
56
57
58
59Auto generated by spf13/cobra Nov 2023 glab(1)