class Gem::Commands::SpecificationCommand

def initialize

def initialize
  Gem.load_yaml
  super "specification", "Display gem specification (in yaml)",
        domain: :local, version: Gem::Requirement.default,
        format: :yaml
  add_version_option("examine")
  add_platform_option
  add_prerelease_option
  add_option("--all", "Output specifications for all versions of",
             "the gem") do |_value, options|
    options[:all] = true
  end
  add_option("--ruby", "Output ruby format") do |_value, options|
    options[:format] = :ruby
  end
  add_option("--yaml", "Output YAML format") do |_value, options|
    options[:format] = :yaml
  end
  add_option("--marshal", "Output Marshal format") do |_value, options|
    options[:format] = :marshal
  end
  add_local_remote_options
end