glab(1)

πŸ’… glab(1) β€” the secure file removal glow-up

Hey bestie, welcome to glab(1)! Today's main character is glab-securefile-remove, and yes, it does exactly what it says on the tin. πŸŽ€


✨ NAME ✨

glab-securefile-remove β€” remove a secure file from a project. That's it, that's the whole vibe. πŸ—‘οΈ


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this command removes a secure file from a project, and you identify that file by its numeric ID. Numeric. A number. Bestie, please don't hand it your childhood nickname. πŸ”’

The command asks for confirmation before deleting β€” which is so valid of it, honestly, because deleting is forever β€” but if you're writing scripts and can't be bothered with the back-and-forth, use -y to skip the prompt. ⚑

By default, the file gets removed from the current project. Want to target a different project instead? Use --repo. Main character energy, different location. πŸ’…


πŸ’– OPTIONS πŸ’–

  • --id=0 β€” the ID of the secure file to remove. Default is 0, which is lowkey not a real ID, so like… actually give it one.
  • --name="" β€” the name of the secure file to remove. Default is the empty string, so fill it in, bestie. πŸ“
  • -y, --yes[=false] β€” skip the confirmation prompt. Defaults to false, meaning by default it will ask you. Set it and you're zooming. πŸ”₯

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

These are the hand-me-downs, and honestly they ate:

  • -h, --help[=false] β€” show help for this command. Defaults to false. Not me forgetting -h exists like every single time. 😭
  • -R, --repo="" β€” select another repository. You can pass it as OWNER/REPO or GROUP/NAMESPACE/REPO, and the full URL or Git URL is also accepted. Flexible icon. 🌈

⭐ EXAMPLE ⭐

# Remove a secure file by ID
glab securefile remove 1
glab securefile remove --id 1

# Remove a secure file by name
glab securefile remove --name example.txt

# Skip the confirmation prompt
glab securefile remove 1 -y
glab securefile remove --name example.txt -y

# Use the 'rm' alias
glab securefile rm 1

# Use the 'delete' alias
glab securefile delete --name example.txt

Not the rm alias and the delete alias both being available β€” we love options, we love convenience, we love a short little command. 🫢


🌟 SEE ALSO 🌟

  • glab-securefile(1) β€” the parent, the origin story, the blueprint. Go read it. πŸ’œ

Heads up bestie: this one actually deletes things. It asks first (unless you slap -y on there), so like β€” read before you press enter. πŸ’€

Auto generated by spf13/cobra, dated Nov 2026 β€” and that's the whole page, bestie! Now go forth and remove those secure files responsibly. πŸ§šβœ¨πŸ’–

πŸ“¦ where this page comes from