Apply suggestions from code review

Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com>
This commit is contained in:
William Woodruff 2025-02-03 17:08:55 +01:00 committed by GitHub
parent f7557ae9fe
commit 06d0f59a29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,17 +2,15 @@
# frozen_string_literal: true # frozen_string_literal: true
require "abstract_command" require "abstract_command"
require "formula"
require "date"
require "attestation" require "attestation"
module Homebrew module Homebrew
module DevCmd module DevCmd
class VerifyCmd < AbstractCommand class Verify < AbstractCommand
cmd_args do cmd_args do
description <<~EOS description <<~EOS
Verify the build provenance of bottles using GitHub's attestation tools. Verify the build provenance of bottles using GitHub's attestation tools.
This is done by first fetching the given bottles, and then verifying This is done by first fetching the given bottles and then verifying
their provenance. their provenance.
Note that this command depends on the GitHub CLI. Run `brew install gh`. Note that this command depends on the GitHub CLI. Run `brew install gh`.