.nh .TH "glab" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-repo-archive - Get an archive of the repository. .SH SYNOPSIS .PP \fBglab repo archive [flags]\fP .SH DESCRIPTION .PP Clone supports these shorthands .RS .IP \(bu 2 repo .IP \(bu 2 namespace/repo .IP \(bu 2 namespace/group/repo .RE .SH OPTIONS .PP \fB-f\fP, \fB--format\fP="zip" Optionally Specify format if you want a downloaded archive: {tar.gz|tar.bz2|tbz|tbz2|tb2|bz2|tar|zip}. .PP \fB-s\fP, \fB--sha\fP="" The commit SHA to download. A tag, branch reference, or SHA can be used. This defaults to the tip of the default branch if not specified .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for command .SH EXAMPLE .PP .RS .nf glab repo archive profclems/glab glab repo archive # Downloads zip file of current repository glab repo archive profclems/glab mydirectory # Downloads repo zip file into mydirectory glab repo archive profclems/glab --format=zip # Finds repo for current user and download in zip format .fi .RE .SH SEE ALSO .PP \fBglab-repo(1)\fP