glab(1)

πŸ“¦
version 1.128.0 Β· 3 versions
, in arch rolling

πŸ’… glab(1) β€” the glab manual, bestie edition

okay so you're looking at the glab manual page, and specifically this little corner of it is all about one command. sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

glab-securefile-update β€” update a secure file in a project. yes bestie, update. not create, not delete. update. πŸŽ€


✨ SYNOPSIS ✨

glab securefile update   [flags]

(no cap, that double space is really in there, she's just living her life πŸ’…)


✨ DESCRIPTION ✨

okay so here's the vibe: this command updates a secure file in a project, and the file is identified by its name. that's the key detail, don't forget it.

the command asks for confirmation before it actually updates anything (very "are you sure, bestie?" of her 🫢). if you're running this in scripts and don't want a prompt blocking you, hit it with -y to skip.

by default, the file gets updated in the current project β€” like, the one you're already in. if you wanna target some other project, use --repo.

and here's a cute little quirk: if the file content is unchanged, no update is performed. she's efficient, she's not gonna do work for nothing. ⭐

πŸ’€ IMPORTANT: updating a secure file changes its ID. so when you download the file afterward, reference it by --name instead of --id. like, the old ID is gone, bestie. iconic behaviour honestly, but you gotta know about it.

✨ OPTIONS ✨

  • -y, --yes[=false] β€” skip the confirmation prompt. default is false, so by default she will ask. set it and she just goes. πŸ”₯

🌈 OPTIONS INHERITED FROM PARENT COMMANDS

these aren't even hers, she inherited them from her parent command. nepotism? no, just good design.

  • -h, --help[=false] β€” show help for this command. default false. when you're lost, just ask. πŸ™ˆ
  • -R, --repo="" β€” select another repository. you can use either OWNER/REPO or GROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted. default is empty string. so many ways to say where you wanna go, she supports all of them. πŸ‘‘

✨ EXAMPLE ✨

okay this is the part you actually came for, i know. here's how it looks in the wild:

# Update a secure file
glab securefile update "file.txt" securefiles/localfile.txt

# Skip the confirmation prompt
glab securefile update "file.txt" securefiles/localfile.txt -y

# Use the 'overwrite' alias
glab securefile overwrite "file.txt" securefiles/localfile.txt

see that last one? there's an overwrite alias and it does the same thing. iykyk. πŸ¦‹


✨ SEE ALSO ✨

  • glab-securefile(1) β€” go check out the parent page, she's the main character energy here and there's more where this came from.

that's the whole thing, bestie. slay πŸ’–

this page was auto generated by spf13/cobra, dated Nov 2026, and lives in the glab(1) manual β€” so like, credit where credit's due, and goodbye from the glab(1) girlies πŸ‘‘βœ¨

πŸ“¦ where this page comes from