glab(1)

πŸ’… glab-securefile-download β€” a glab(1) manual page

✨ NAME

glab-securefile-download β€” Download one or more secure files from a project. That’s the whole assignment, bestie. πŸ’–

πŸ› οΈ SYNOPSIS

glab securefile download [ | --id  | --name ] [flags]

πŸ’– DESCRIPTION

Okay so here’s the tea β˜•: to download a single file, you identify it by its numeric ID β€” either as a positional argument or with --id β€” or by its name with --name.

Want every secure file in the project? That’s --all, no cap. ✨

Use --path to save a single download to a specific filename, or --output-dir to choose the destination directory when you’re downloading multiple files. Slay.

By default, downloaded files are verified against their checksum β€” periodt. Use --no-verify to skip verification, or --force-download to keep files even when verification fails. Both options can allow corrupted or tampered files; use with caution. 🚨

By default, files are downloaded from the current project. Use --repo to target another project. iykyk.

πŸŽ€ OPTIONS

  • --all[=false] β€” Download all of a project's secure files. Files are downloaded with their original name and file extension. Iconic.
  • --force-download[=false] β€” Force download file(s) even if checksum verification fails. Warning: when enabled, this setting allows the download of files that are corrupt or tampered with. Be careful, bestie.
  • --id=0 β€” ID of the secure file to download. πŸ†”
  • --name="" β€” Name of the secure file to download. Saves the file with this name, or to the path specified by --path.
  • --no-verify[=false] β€” Do not verify the checksum of the downloaded file(s). Warning: when enabled, this setting allows the download of files that are corrupt or tampered with.
  • --output-dir="." β€” Output directory for files downloaded with --all.
  • -p, --path="./downloaded.tmp" β€” Path to download the secure file to, including filename and extension.
🚨 Also reminder: --no-verify and --force-download are the β€œbestie no” combo if you care about corruption/tampering. The manpage says both can allow corrupted or tampered files; use with caution. I’m just repeating the warning because safety is main character energy. πŸ’…

🧚 OPTIONS INHERITED FROM PARENT COMMANDS

  • -h, --help[=false] β€” Show help for this command.
  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

🌈 EXAMPLE

# Download a file by ID (positional or flag)
glab securefile download 1
glab securefile download --id 1

# Download a file by ID to a specific path
glab securefile download 1 --path "securefiles/file.txt"

# Download a file to an absolute path
glab securefile download 1 --path /tmp/secure/file.txt

# Download a file by name to the current directory
glab securefile download --name my-secure-file.pem

# Download a file by name to a chosen path
glab securefile download --name my-secure-file.pem --path securefiles/some-other-name.pem

# Download without verifying the checksum
glab securefile download 1 --no-verify

# Download all secure files in the project
glab securefile download --all

# Download all secure files to a specific directory
glab securefile download --all --output-dir secure_files/

πŸ¦‹ SEE ALSO


This page was auto generated by spf13/cobra in Nov 2026 for glab(1) β€” ty for reading, bestie, mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from