正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab securefile remove

Remove a secure file from a project.

Synopsis

Remove a secure file from a project, identified by its numeric ID. The command asks for confirmation before deleting; use -y to skip the prompt in scripts.

By default, the file is removed from the current project. Use --repo to target another project.

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

Aliases

rm
delete

Examples

# 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

Options

      --id int        ID of the secure file to remove.
      --name string   Name of the secure file to remove.
  -y, --yes           Skip the confirmation prompt.

Options inherited from parent commands

  -h, --help          Show help for this command.
  -R, --repo string   Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.