class Gem::Commands::PushCommand
def initialize
def initialize super "push", "Push a gem up to the gem server", host: host, attestations: [] @user_defined_host = false add_proxy_option add_key_option add_otp_option add_option("--host HOST", "Push to another gemcutter-compatible host", " (e.g. https://rubygems.org)") do |value, options| options[:host] = value @user_defined_host = true end add_option("--attestation FILE", "Push with sigstore attestations") do |value, options| options[:attestations] << value end @host = nil end